Removed an unused parameter from CtdlSubmitMsg(). Why was it even there?
[citadel.git] / citadel / modules / inboxrules / serv_inboxrules.c
index a381d4e17c696f32fa19c888f94bf1af3709ab52..4979e57150e74f64900535fef0bd7de83e26c0bf 100644 (file)
@@ -373,7 +373,7 @@ int inbox_do_redirect(struct irule *rule, long msgnum) {
                return(1);                                      // don't delete the inbox copy if this failed
        }
 
-       CtdlSubmitMsg(msg, valid, NULL, 0);                     // send the message to the new recipient
+       CtdlSubmitMsg(msg, valid, NULL);                        // send the message to the new recipient
        free_recipients(valid);
        CM_Free(msg);
        return(0);                                              // delete the inbox copy
@@ -417,10 +417,10 @@ void inbox_do_reject(struct irule *rule, struct CtdlMessage *msg) {
 
        // Deliver the message
        quickie_message(
-               NULL,
+               " ",
                msg->cm_fields[eenVelopeTo],
                sender,
-               NULL,
+               MAILROOM,
                reject_text,
                FMT_RFC822,
                "Delivery status notification"
@@ -476,10 +476,10 @@ void inbox_do_vacation(struct irule *rule, struct CtdlMessage *msg) {
        
                // Deliver the auto-reply.
                quickie_message(
-                       NULL,
+                       "",
                        msg->cm_fields[eenVelopeTo],
                        sender,
-                       NULL,
+                       MAILROOM,
                        ChrPtr(reject_text),
                        FMT_RFC822,
                        "Delivery status notification"