X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=imap%2Fimap.c;h=ac9363eca41788f17de4fae7fcd42828d5626c53;hp=c2cde32c8be97ed0e21091f035cd4aee7e53cd7f;hb=9946738a6a1c27a5602a14d1afe2eea2389732b2;hpb=eab38ff6950a0075741f24ac9fb0d9eaf7df8671 diff --git a/imap/imap.c b/imap/imap.c index c2cde32..ac9363e 100644 --- a/imap/imap.c +++ b/imap/imap.c @@ -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); @@ -1569,7 +1569,7 @@ static int imap_open_new_message (MESSAGE * msg, { char tmp[_POSIX_PATH_MAX]; - msg->fp = m_tempfile(tmp, sizeof(tmp), NONULL(MCore.tmpdir), NULL); + msg->fp = m_tempfile(tmp, sizeof(tmp), NONULL(mod_core.tmpdir), NULL); if (!msg->fp) { mutt_perror(tmp); return -1;