From e1b1db93e56b77c83462afb5004a49e632b3b316 Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Thu, 3 Sep 2009 15:11:03 +0000 Subject: [PATCH] * Fix smtp queue display --- webcit/smtpqueue.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) 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("
"); -- 2.30.2