]> code.citadel.org Git - citadel.git/blobdiff - webcit/smtpqueue.c
* split tasks view into its own file
[citadel.git] / webcit / smtpqueue.c
index dcc03c7d8c71556cc2fc54ce211954edecb39d82..503dc63932ce3865457ff3ee391b52f06a4b5fdf 100644 (file)
@@ -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);
+               num_msgs = load_msg_ptrs("MSGS ALL", &Msg);
                if (num_msgs > 0) {
                         wprintf("<table class=\"mailbox_summary\" rules=rows "
                                "cellpadding=2 style=\"width:100%%;\">"