X-Git-Url: https://code.citadel.org/?p=citadel.git;a=blobdiff_plain;f=citadel%2Fserver%2Fmodules%2Fctdlproto%2Fserv_messages.c;fp=citadel%2Fserver%2Fmodules%2Fctdlproto%2Fserv_messages.c;h=2c3b4371eef2230e470772ed5267ee01c0f26616;hp=9a85f263b716ac28c1b5685d73a58d9ea46b9e31;hb=1d8bbd8d311dc3f70985d9087df4b499db9c4327;hpb=cf535e06bb503583c301683ea885220df1b276d5 diff --git a/citadel/server/modules/ctdlproto/serv_messages.c b/citadel/server/modules/ctdlproto/serv_messages.c index 9a85f263b..2c3b4371e 100644 --- a/citadel/server/modules/ctdlproto/serv_messages.c +++ b/citadel/server/modules/ctdlproto/serv_messages.c @@ -476,14 +476,14 @@ void cmd_ent0(char *entargs) { strcpy(bcc, ""); } - valid_to = validate_recipients(recp, NULL, 0); + valid_to = validate_recipients(recp, 0); if (valid_to->num_error > 0) { cprintf("%d %s\n", ERROR + NO_SUCH_USER, valid_to->errormsg); free_recipients(valid_to); return; } - valid_cc = validate_recipients(cc, NULL, 0); + valid_cc = validate_recipients(cc, 0); if (valid_cc->num_error > 0) { cprintf("%d %s\n", ERROR + NO_SUCH_USER, valid_cc->errormsg); free_recipients(valid_to); @@ -491,7 +491,7 @@ void cmd_ent0(char *entargs) { return; } - valid_bcc = validate_recipients(bcc, NULL, 0); + valid_bcc = validate_recipients(bcc, 0); if (valid_bcc->num_error > 0) { cprintf("%d %s\n", ERROR + NO_SUCH_USER, valid_bcc->errormsg); free_recipients(valid_to); @@ -614,7 +614,7 @@ void cmd_ent0(char *entargs) { strcat(all_recps, bcc); } if (!IsEmptyStr(all_recps)) { - valid = validate_recipients(all_recps, NULL, 0); + valid = validate_recipients(all_recps, 0); } else { valid = NULL;