I'm fed up with stupid defines when C can come up with *way* betted: bit-fields.
[apps/madmutt.git] / imap / imap.c
index c2cde32..a9f5788 100644 (file)
@@ -341,7 +341,7 @@ IMAP_DATA *imap_conn_find (const ACCOUNT * account, int flags)
     if (!imap_authenticate (idata)) {
       idata->state = IMAP_AUTHENTICATED;
     } else {
-      mutt_account_unsetpass (&idata->conn->account);
+      idata->conn->account.has_pass = 0;
     }
 
     p_delete(&idata->capstr);