From: Wilfried Göesgens Date: Thu, 3 Sep 2009 20:52:46 +0000 (+0000) Subject: * initialize stat here too. X-Git-Tag: v7.86~889 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=848843075d425ea70d673a047f4e41a3a1633bba * initialize stat here too. --- diff --git a/webcit/useredit.c b/webcit/useredit.c index 7d0c6cc8f..40d66cc90 100644 --- a/webcit/useredit.c +++ b/webcit/useredit.c @@ -425,6 +425,9 @@ long locate_user_vcard_in_this_room(message_summary **VCMsg, wc_mime_attachment Buf = NewStrBuf(); TRYAGAIN: memset(&Stat, 0, sizeof(SharedMessageStatus)); + Stat.maxload = 10000; + Stat.lowest_found = (-1); + Stat.highest_found = (-1); Done = 0; /* Search for the user's vCard */ if (load_msg_ptrs("MSGS ALL||||1", &Stat) > 0) {