X-Git-Url: https://code.citadel.org/?p=citadel.git;a=blobdiff_plain;f=webcit%2Fsummary.c;h=172a15486703d700279a37f4ee2abac124a1dee8;hp=ecb90c0b19be3bccbc3ec1d141bacd777b4e2ae1;hb=4b4dc864ede7c5d8d956febe4a0afb422b78e7c4;hpb=4119585313796eabb032cce61627ec95da60ac36 diff --git a/webcit/summary.c b/webcit/summary.c index ecb90c0b1..172a15486 100644 --- a/webcit/summary.c +++ b/webcit/summary.c @@ -117,7 +117,7 @@ void tasks_section(void) { num_msgs = 0; } else { - num_msgs = load_msg_ptrs("MSGS ALL", &Stat, NULL); + num_msgs = load_msg_ptrs("MSGS ALL", NULL, &Stat, NULL); } if (num_msgs > 0) { @@ -142,6 +142,7 @@ void tasks_section(void) { */ void calendar_section(void) { char cmd[SIZ]; + char filter[SIZ]; int num_msgs = 0; HashPos *at; const char *HashKey; @@ -165,13 +166,16 @@ void calendar_section(void) { num_msgs = 0; } else { - num_msgs = load_msg_ptrs("MSGS ALL", &Stat, NULL); + num_msgs = load_msg_ptrs("MSGS ALL", NULL, &Stat, NULL); } calendar_GetParamsGetServerCall(&Stat, &v, readnew, cmd, - sizeof(cmd)); + sizeof(cmd), + filter, + sizeof(filter)); + if (num_msgs > 0) { at = GetNewHashPos(WCC->summ, 0);