From: Wilfried Göesgens Date: Tue, 8 Sep 2009 07:06:38 +0000 (+0000) Subject: * do the right initialization for the stat struct in the summary too. X-Git-Tag: v7.86~868 X-Git-Url: https://code.citadel.org/?a=commitdiff_plain;h=822156bac91f23215dc113acf28f59b31b545c56;p=citadel.git * do the right initialization for the stat struct in the summary too. --- diff --git a/webcit/summary.c b/webcit/summary.c index fb34a8583..925d42693 100644 --- a/webcit/summary.c +++ b/webcit/summary.c @@ -88,6 +88,10 @@ void tasks_section(void) { SharedMessageStatus Stat; memset(&Stat, 0, sizeof(SharedMessageStatus)); + Stat.maxload = 10000; + Stat.lowest_found = (-1); + Stat.highest_found = (-1); + Buf = NewStrBufPlain(HKEY("_TASKS_")); gotoroom(Buf); FreeStrBuf(&Buf); @@ -133,6 +137,10 @@ void calendar_section(void) { SharedMessageStatus Stat; memset(&Stat, 0, sizeof(SharedMessageStatus)); + Stat.maxload = 10000; + Stat.lowest_found = (-1); + Stat.highest_found = (-1); + Buf = NewStrBufPlain(HKEY("_CALENDAR_")); gotoroom(Buf); FreeStrBuf(&Buf);