* follow api-change in several places
[citadel.git] / webcit / summary.c
index c18b57b81b05a08a2ef590dbded5a9680e7ee25a..41d2aa025828dfd6b2fd70b74752122c0bf4a9ce 100644 (file)
@@ -98,7 +98,7 @@ void tasks_section(void) {
                wprintf("</i><br />\n");
        }
        else {
-               at = GetNewHashPos();
+               at = GetNewHashPos(WCC->summ, 0);
                while (GetNextHashPos(WCC->summ, at, &HKLen, &HashKey, &vMsg)) {
                        Msg = (message_summary*) vMsg;          
                        display_task(Msg, 0);
@@ -138,7 +138,7 @@ void calendar_section(void) {
                wprintf("</i><br />\n");
        }
        else {
-               at = GetNewHashPos();
+               at = GetNewHashPos(WCC->summ, 0);
                while (GetNextHashPos(WCC->summ, at, &HKLen, &HashKey, &vMsg)) {
                        Msg = (message_summary*) vMsg;          
                        load_calendar_item(Msg, 0, &c);