* initialize stat here too.
authorWilfried Göesgens <willi@citadel.org>
Thu, 3 Sep 2009 20:52:46 +0000 (20:52 +0000)
committerWilfried Göesgens <willi@citadel.org>
Thu, 3 Sep 2009 20:52:46 +0000 (20:52 +0000)
webcit/useredit.c

index 7d0c6cc8f74167fa046fe37dbcc315c68be29dd5..40d66cc90244ff86cceb25bf5a6b0b2018f51b01 100644 (file)
@@ -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) {