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

index 6cd7da50bb5f981ec44bcc693f5c3509245ad925..393d5e9c834a47172438ec99b62da17f4aa23a2b 100644 (file)
@@ -45,10 +45,3 @@ int cmd_noop_relay(struct client *client, struct smtp_server_cmd_ctx *cmd)
                (client->proxy_conn, 0, cmd_noop_proxy_cb, noop_cmd);
        return 0;
 }
-
-int cmd_noop(void *conn_ctx, struct smtp_server_cmd_ctx *cmd)
-{
-       struct client *client = conn_ctx;
-
-       return cmd_noop_relay(client, cmd);
-}
index fadd8e4c4824e0507c3c602ecf3112d51052c9ac..4dc2e2608bd76dda405dcb8f78433c30555ea443 100644 (file)
@@ -427,3 +427,14 @@ int cmd_vrfy(void *conn_ctx, struct smtp_server_cmd_ctx *cmd,
 
        return cmd_vrfy_relay(client, cmd, param);
 }
+
+/*
+ * NOOP command
+ */
+
+int cmd_noop(void *conn_ctx, struct smtp_server_cmd_ctx *cmd)
+{
+       struct client *client = conn_ctx;
+
+       return cmd_noop_relay(client, cmd);
+}