validate_recipients() - completed removal of unused param
[citadel.git] / citadel / server / modules / inboxrules / serv_inboxrules.c
index 5c01625af9bb447f11ecf41c438f4f4fa590e55f..66018785e662b6a445deee75fddd8b4a2178b624 100644 (file)
@@ -342,7 +342,7 @@ int inbox_do_redirect(struct irule *rule, long msgnum) {
                return(1);                                      // don't delete the inbox copy if this failed
        }
 
-       struct recptypes *valid = validate_recipients(rule->redirect_to, NULL, 0);
+       struct recptypes *valid = validate_recipients(rule->redirect_to, 0);
        if (valid == NULL) {
                syslog(LOG_WARNING, "inboxrules: inbox_do_redirect() invalid recipient <%s>", rule->redirect_to);
                return(1);                                      // don't delete the inbox copy if this failed