From: Art Cancro Date: Thu, 3 Sep 2009 15:11:03 +0000 (+0000) Subject: * Fix smtp queue display X-Git-Tag: v7.86~891 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=e1b1db93e56b77c83462afb5004a49e632b3b316 * Fix smtp queue display --- diff --git a/webcit/smtpqueue.c b/webcit/smtpqueue.c index 9014cd6c9..f1310a6ad 100644 --- a/webcit/smtpqueue.c +++ b/webcit/smtpqueue.c @@ -180,6 +180,9 @@ void display_smtpqueue_inner_div(void) { FreeStrBuf(&Buf); if (!strcasecmp(ChrPtr(WCC->wc_roomname), "__CitadelSMTPspoolout__")) { + Stat.maxload = 10000; + Stat.lowest_found = (-1); + Stat.highest_found = (-1); num_msgs = load_msg_ptrs("MSGS ALL", &Stat); if (num_msgs > 0) { wprintf("summ); - if (Msg) { - lprintf(9, "%d of %d: %ld\n", i, num_msgs, Msg->msgnum); + if (Msg != NULL) { display_queue_msg(Msg->msgnum); } - else { - lprintf(9, "%d of %d: is NULL!\n", i, num_msgs); - } } wprintf("
");