]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
submission: Move generic part of VRFY command to submission-commands.c.
authorStephan Bosch <stephan.bosch@dovecot.fi>
Wed, 29 Aug 2018 21:37:25 +0000 (23:37 +0200)
committerVille Savolainen <ville.savolainen@dovecot.fi>
Tue, 12 Feb 2019 13:40:41 +0000 (15:40 +0200)
src/submission/cmd-vrfy.c
src/submission/submission-commands.c

index 8486bc3dd03f956816b1ed0526d1821f2a363264..e4be183b3846f9233cefbdbe9012ffb6956ef05c 100644 (file)
@@ -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);
-}
index 0de56e7399636bdb5b65326ca85b7ffacbc43036..fadd8e4c4824e0507c3c602ecf3112d51052c9ac 100644 (file)
@@ -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);
+}