From: Wilfried Goesgens Date: Sun, 29 Sep 2013 18:08:52 +0000 (+0200) Subject: when we did the login and replied, we mustn't try again to process the inbound comman... X-Git-Tag: v8.22~10 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=1b3b110b994683c454c11acc257651173a6a52f0 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. --- diff --git a/citadel/modules/smtp/serv_smtp.c b/citadel/modules/smtp/serv_smtp.c index be0ef80a4..191a3b57c 100644 --- a/citadel/modules/smtp/serv_smtp.c +++ b/citadel/modules/smtp/serv_smtp.c @@ -1015,6 +1015,7 @@ void smtp_command_loop(void) else if (sSMTP->command_state == smtp_plain) { smtp_try_plain(0, 0); + return; } pchs = pch = ChrPtr(sSMTP->Cmd);