Integrated the DKIM signer into serv_smtpclient, but disabled it
[citadel.git] / webcit / smtpqueue.c
index 350a201f03e3edf781159baf610e06c9972f93f4..b5c750a311a1b4106a9072b8ae20f3e51db4996a 100644 (file)
@@ -373,7 +373,7 @@ int qview_LoadMsgFromServer(SharedMessageStatus *Stat,
        const StrBuf *Mime;
 
         /* Not (yet?) needed here? calview *c = (calview *) *ViewSpecific; */
-       read_message(WCC->WBuf, HKEY("view_mailq_message_bearer"), Msg->msgnum, NULL, &Mime);
+       read_message(WCC->WBuf, HKEY("view_mailq_message_bearer"), Msg->msgnum, NULL, &Mime, NULL);
 
         return 0;
 }
@@ -386,6 +386,7 @@ int qview_RenderView_or_Tail(SharedMessageStatus *Stat,
        wcsession *WCC = WC;
        WCTemplputParams SubTP;
 
+       memset(&SubTP, 0, sizeof(WCTemplputParams));
        if (yesbstr("ListOnly"))
                DoTemplate(HKEY("view_mailq_footer_listonly"),NULL, &SubTP);
        else
@@ -447,6 +448,7 @@ InitModule_SMTP_QUEUE
                NULL,
                qview_LoadMsgFromServer,
                qview_RenderView_or_Tail,
-               qview_Cleanup);
+               qview_Cleanup,
+               NULL);
 
 }