* give message sender in while evaluating the recipient...
[citadel.git] / citadel / modules / sieve / serv_sieve.c
index 39827f36588c3ae3f3cdbb5b507a69fd33170b28..e8baaec8afcbfd84b4846c10a4aa6b8e84ae5248 100644 (file)
@@ -104,7 +104,7 @@ int ctdl_redirect(sieve2_context_t *s, void *my)
 
        lprintf(CTDL_DEBUG, "Action is REDIRECT, recipient <%s>\n", recp);
 
-       valid = validate_recipients(recp, 0);
+       valid = validate_recipients(recp, NULL, 0);
        if (valid == NULL) {
                lprintf(CTDL_WARNING, "REDIRECT failed: bad recipient <%s>\n", recp);
                return SIEVE2_ERROR_BADARGS;