]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-smtp: server: Fix compile error in smtp-server-cmd-helo.c.
authorStephan Bosch <stephan.bosch@dovecot.fi>
Mon, 18 Dec 2017 18:28:10 +0000 (19:28 +0100)
committerTimo Sirainen <timo.sirainen@dovecot.fi>
Fri, 22 Dec 2017 13:28:49 +0000 (15:28 +0200)
Error was:
"smtp-server-cmd-helo.c", line 140: void function cannot return value

src/lib-smtp/smtp-server-cmd-helo.c

index 799e2671c428ee4e32a07b1e355fcd1ccce55f1d..1b45389e43a7e12a9224c886e89f69d783b2540c 100644 (file)
@@ -137,7 +137,7 @@ void smtp_server_cmd_ehlo(struct smtp_server_cmd_ctx *cmd,
 {
        /* ehlo = "EHLO" SP ( Domain / address-literal ) CRLF */
 
-       return smtp_server_cmd_helo_run(cmd, params, FALSE);
+       smtp_server_cmd_helo_run(cmd, params, FALSE);
 }
 
 void smtp_server_cmd_helo(struct smtp_server_cmd_ctx *cmd,
@@ -145,5 +145,5 @@ void smtp_server_cmd_helo(struct smtp_server_cmd_ctx *cmd,
 {
        /* helo = "HELO" SP Domain CRLF */
 
-       return smtp_server_cmd_helo_run(cmd, params, TRUE);
+       smtp_server_cmd_helo_run(cmd, params, TRUE);
 }