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: v9.01~195 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=0635359a1b34a42926f5ab9566cb91d5071c438c 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 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) {