X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=imap%2Fimap.c;h=4b557fe84a0b2cac1f5778cd3b58c660723d0c2a;hb=92f2fc3802e13a8eb0717123c588d855fa0de67f;hp=dcaccd1e52d19355a18549c5cec1bd89e4c80dc9;hpb=ac1ea3143e61def7fc9000bee6d0d59d56c5b997;p=apps%2Fmadmutt.git diff --git a/imap/imap.c b/imap/imap.c index dcaccd1..4b557fe 100644 --- a/imap/imap.c +++ b/imap/imap.c @@ -12,9 +12,9 @@ /* Support for IMAP4rev1, with the occasional nod to IMAP 4. */ #include +#include #include "mutt.h" -#include "mx.h" #include "globals.h" #include "sort.h" #include "browser.h" @@ -347,9 +347,9 @@ IMAP_DATA *imap_conn_find (const ACCOUNT * account, int flags) if (idata->state == IMAP_CONNECTED) { if (!imap_authenticate (idata)) { idata->state = IMAP_AUTHENTICATED; - } - else + } else { mutt_account_unsetpass (&idata->conn->account); + } p_delete(&idata->capstr); }