From: Stephan Bosch Date: Wed, 29 Aug 2018 21:37:25 +0000 (+0200) Subject: submission: Move generic part of VRFY command to submission-commands.c. X-Git-Tag: 2.3.9~1333 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9fafcd5455a2ff8f6a85366248b7040c4eb2641d;p=thirdparty%2Fdovecot%2Fcore.git submission: Move generic part of VRFY command to submission-commands.c. --- diff --git a/src/submission/cmd-vrfy.c b/src/submission/cmd-vrfy.c index 8486bc3dd0..e4be183b38 100644 --- a/src/submission/cmd-vrfy.c +++ b/src/submission/cmd-vrfy.c @@ -56,10 +56,3 @@ int cmd_vrfy_relay(struct client *client, struct smtp_server_cmd_ctx *cmd, return 0; } -int cmd_vrfy(void *conn_ctx, struct smtp_server_cmd_ctx *cmd, - const char *param) -{ - struct client *client = conn_ctx; - - return cmd_vrfy_relay(client, cmd, param); -} diff --git a/src/submission/submission-commands.c b/src/submission/submission-commands.c index 0de56e7399..fadd8e4c48 100644 --- a/src/submission/submission-commands.c +++ b/src/submission/submission-commands.c @@ -415,3 +415,15 @@ void cmd_burl(struct smtp_server_cmd_ctx *cmd, const char *params) if (ret == 0 && chunk_last) smtp_server_command_input_lock(cmd); } + +/* + * VRFY command + */ + +int cmd_vrfy(void *conn_ctx, struct smtp_server_cmd_ctx *cmd, + const char *param) +{ + struct client *client = conn_ctx; + + return cmd_vrfy_relay(client, cmd, param); +}