From 741ca47eeffe7eb0ff30bec2f1e7963f41eeba83 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 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); -- 2.30.2