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: v9.01~236 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=741ca47eeffe7eb0ff30bec2f1e7963f41eeba83 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 9ac94212a..abdc2d1ad 100644 --- a/citadel/modules/smtp/serv_smtp.c +++ b/citadel/modules/smtp/serv_smtp.c @@ -1004,6 +1004,7 @@ void smtp_command_loop(void) else if (sSMTP->command_state == smtp_plain) { smtp_try_plain(0, 0); + return; } pchs = pch = ChrPtr(sSMTP->Cmd);