SMTP: when we did the login and replied, we mustn't try again to process the...
[citadel.git] / 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) {