From 0635359a1b34a42926f5ab9566cb91d5071c438c Mon Sep 17 00:00:00 2001 From: Wilfried Goesgens Date: Fri, 8 Nov 2013 08:38:31 +0100 Subject: [PATCH] SMTP: when we did the login and replied, we mustn't try again to process the inbound command again, which will result in a useless additional second error reply; also in this location. --- citadel/modules/smtp/serv_smtp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/citadel/modules/smtp/serv_smtp.c b/citadel/modules/smtp/serv_smtp.c index 6a06515c3..58457b180 100644 --- a/citadel/modules/smtp/serv_smtp.c +++ b/citadel/modules/smtp/serv_smtp.c @@ -996,10 +996,12 @@ void smtp_command_loop(void) if (sSMTP->command_state == smtp_user) { smtp_get_user(0); + return; } else if (sSMTP->command_state == smtp_password) { smtp_get_pass(0, 0); + return; } else if (sSMTP->command_state == smtp_plain) { -- 2.30.2