From 5827d98b66c92ff9a68ff3f900162c0a1bde1841 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 191a3b57c..6dcf9c2b5 100644 --- a/citadel/modules/smtp/serv_smtp.c +++ b/citadel/modules/smtp/serv_smtp.c @@ -1007,10 +1007,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