rename a bunch of modules
[apps/madmutt.git] / imap / imap.c
index c2cde32..ac9363e 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);
@@ -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;