SMTP: when we did the login and replied, we mustn't try again to process the...
authorWilfried Goesgens <dothebart@citadel.org>
Fri, 8 Nov 2013 07:38:31 +0000 (08:38 +0100)
committerWilfried Goesgens <dothebart@citadel.org>
Fri, 8 Nov 2013 07:38:31 +0000 (08:38 +0100)
citadel/modules/smtp/serv_smtp.c

index 6a06515c3b7d88407deced7d631a9ccca0da67df..58457b180cdc8ff50cab65801207ee31c4044dca 100644 (file)
@@ -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) {