]> code.citadel.org Git - citadel.git/blobdiff - webcit/summary.c
* Modified load_msg_pointers(), gave it the ability to return the lowest and highest...
[citadel.git] / webcit / summary.c
index 43c8e590dac5bffac585b0ab0115447fa5363ed3..ae2588da2651a541f7dd5523afe3757bc4c2a874 100644 (file)
@@ -92,7 +92,7 @@ void tasks_section(void) {
                num_msgs = 0;
        }
        else {
-               num_msgs = load_msg_ptrs("MSGS ALL", 0);
+               num_msgs = load_msg_ptrs("MSGS ALL", 0, NULL, NULL);
        }
 
        if (num_msgs > 0) {
@@ -101,6 +101,7 @@ void tasks_section(void) {
                        Msg = (message_summary*) vMsg;          
                        display_task(Msg, 0);
                }
+               DeleteHashPos(&at);
        }
 
        if (calendar_summary_view() < 1) {
@@ -132,7 +133,7 @@ void calendar_section(void) {
                num_msgs = 0;
        }
        else {
-               num_msgs = load_msg_ptrs("MSGS ALL", 0);
+               num_msgs = load_msg_ptrs("MSGS ALL", 0, NULL, NULL);
        }
 
        parse_calendar_view_request(&c);
@@ -143,6 +144,7 @@ void calendar_section(void) {
                        Msg = (message_summary*) vMsg;          
                        load_calendar_item(Msg, 0, &c);
                }
+               DeleteHashPos(&at);
        }
        if (calendar_summary_view() < 1) {
                wprintf("<i>");