X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fuseredit.c;h=7d0c6cc8f74167fa046fe37dbcc315c68be29dd5;hb=72015d547deb7e4632f70ad8dcae2d56ed8bfcca;hp=1396fdebcccc8dae409b69d712a3e8b59e875d8a;hpb=172623f613d7a063ded70251cdb18b1e38030e10;p=citadel.git diff --git a/webcit/useredit.c b/webcit/useredit.c index 1396fdebc..7d0c6cc8f 100644 --- a/webcit/useredit.c +++ b/webcit/useredit.c @@ -419,12 +419,15 @@ long locate_user_vcard_in_this_room(message_summary **VCMsg, wc_mime_attachment int already_tried_creating_one = 0; StrBuf *FoundCharset = NewStrBuf(); StrBuf *Error = NULL; + SharedMessageStatus Stat; + Buf = NewStrBuf(); TRYAGAIN: + memset(&Stat, 0, sizeof(SharedMessageStatus)); Done = 0; /* Search for the user's vCard */ - if (load_msg_ptrs("MSGS ALL||||1", 1, NULL, NULL) > 0) { + if (load_msg_ptrs("MSGS ALL||||1", &Stat) > 0) { at = GetNewHashPos(WCC->summ, 0); while (GetNextHashPos(WCC->summ, at, &HKLen, &HashKey, &vMsg)) { Msg = (message_summary*) vMsg;