X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fsmtpqueue.c;h=503dc63932ce3865457ff3ee391b52f06a4b5fdf;hb=72015d547deb7e4632f70ad8dcae2d56ed8bfcca;hp=2e74064ec9f5386c76e8a336f5cb90ed1d7ed196;hpb=172623f613d7a063ded70251cdb18b1e38030e10;p=citadel.git diff --git a/webcit/smtpqueue.c b/webcit/smtpqueue.c index 2e74064ec..503dc6393 100644 --- a/webcit/smtpqueue.c +++ b/webcit/smtpqueue.c @@ -169,7 +169,9 @@ void display_smtpqueue_inner_div(void) { int i; int num_msgs; StrBuf *Buf; + SharedMessageStatus Stat; + memset(&Stat, 0, sizeof(SharedMessageStatus)); /* Check to see if we can go to the __CitadelSMTPspoolout__ room. * If not, we don't have access to the queue. */ @@ -178,7 +180,7 @@ void display_smtpqueue_inner_div(void) { FreeStrBuf(&Buf); if (!strcasecmp(ChrPtr(WCC->wc_roomname), "__CitadelSMTPspoolout__")) { - num_msgs = load_msg_ptrs("MSGS ALL", 0, NULL, NULL); + num_msgs = load_msg_ptrs("MSGS ALL", &Msg); if (num_msgs > 0) { wprintf(""