From 822156bac91f23215dc113acf28f59b31b545c56 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Wilfried=20G=C3=B6esgens?= Date: Tue, 8 Sep 2009 07:06:38 +0000 Subject: [PATCH] * do the right initialization for the stat struct in the summary too. --- webcit/summary.c | 8 ++++++++ 1 file changed, 8 insertions(+) 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); -- 2.39.2