]> code.citadel.org Git - citadel.git/blobdiff - webcit/smtpqueue.c
* split tasks view into its own file
[citadel.git] / webcit / smtpqueue.c
index 7a2da8036d8e42308b774e50c3ed72b4519bc835..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%%;\">"
@@ -220,8 +222,8 @@ void display_smtpqueue_inner_div(void) {
        end_burst();
 }
 
-/**
- * \brief display the outbound SMTP queue
+/*
+ * display the outbound SMTP queue
  */
 void display_smtpqueue(void)
 {
@@ -280,5 +282,3 @@ InitModule_SMTP_QUEUE
        WebcitAddUrlHandler(HKEY("display_smtpqueue"), display_smtpqueue, 0);
        WebcitAddUrlHandler(HKEY("display_smtpqueue_inner_div"), display_smtpqueue_inner_div, 0);
 }
-
-/*@}*/