From: Michael Elkins Date: Sun, 19 Jun 2011 04:07:46 +0000 (-0700) Subject: clear logging in message when login succeeded. closes #3524 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=385a84cafd60023257cec2c3c2ba66504eaf8f3d;p=mutt clear logging in message when login succeeded. closes #3524 --- diff --git a/imap/auth_login.c b/imap/auth_login.c index 63e47520..1debcdcc 100644 --- a/imap/auth_login.c +++ b/imap/auth_login.c @@ -62,7 +62,10 @@ imap_auth_res_t imap_auth_login (IMAP_DATA* idata, const char* method) rc = imap_exec (idata, buf, IMAP_CMD_FAIL_OK | IMAP_CMD_PASS); if (!rc) + { + mutt_clear_error(); /* clear "Logging in...". fixes #3524 */ return IMAP_AUTH_SUCCESS; + } mutt_error _("Login failed."); mutt_sleep (2);