From 1b3b110b994683c454c11acc257651173a6a52f0 Mon Sep 17 00:00:00 2001 From: Wilfried Goesgens Date: Sun, 29 Sep 2013 20:08:52 +0200 Subject: [PATCH] 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. --- citadel/modules/smtp/serv_smtp.c | 1 + 1 file changed, 1 insertion(+) 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); -- 2.30.2