From: Wilfried Goesgens Date: Fri, 8 Nov 2013 07:38:31 +0000 (+0100) Subject: SMTP: when we did the login and replied, we mustn't try again to process the... X-Git-Tag: v8.23-new~4 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=5827d98b66c92ff9a68ff3f900162c0a1bde1841 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. --- 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) {