Modularise msgbase
[citadel.git] / citadel / modules / smtp / serv_smtpqueue.c
index df04bdcc5f713f66ebdb138c9d2bc73ab1067458..10496eac5c693fdd8ffa7422eb6d53524144f970 100644 (file)
@@ -842,7 +842,7 @@ void smtp_do_procmsg(long msgnum, void *userdata) {
        SMTPC_syslog(LOG_DEBUG, "smtp_do_procmsg(%ld)\n", msgnum);
        ///strcpy(envelope_from, "");
 
-       msg = CtdlFetchMessage(msgnum, 1);
+       msg = CtdlFetchMessage(msgnum, 1, 1);
        if (msg == NULL) {
                SMTPC_syslog(LOG_ERR, "tried %ld but no such message!\n",
                       msgnum);