X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=imap%2Fmessage.c;h=3980496fed618e71c1b91231a34d70be4bbd791e;hb=576172ff50f9dd94dd2f5cc91d247c1e50dbe7fc;hp=a3225e42a2da8fd017355f6b8dc161797bd09d2c;hpb=25594eeaad2af2d06328b47283cfba72fa3bc8cd;p=apps%2Fmadmutt.git diff --git a/imap/message.c b/imap/message.c index a3225e4..3980496 100644 --- a/imap/message.c +++ b/imap/message.c @@ -83,7 +83,7 @@ int imap_read_headers (IMAP_DATA * idata, int msgbegin, int msgend) /* instead of downloading all headers and then parsing them, we parse them * as they come in. */ - fp = m_tempfile(tempfile, sizeof(tempfile), NONULL(Tempdir), NULL); + fp = m_tempfile(tempfile, sizeof(tempfile), NONULL(MCore.tmpdir), NULL); if (!fp) { mutt_error(_("Could not create temporary file")); mutt_sleep(2); @@ -376,7 +376,7 @@ int imap_fetch_message (MESSAGE * msg, CONTEXT * ctx, int msgno) mutt_message _("Fetching message..."); cache->uid = HEADER_DATA (h)->uid; - msg->fp = m_tempfile(path, sizeof(path), NONULL(Tempdir), NULL); + msg->fp = m_tempfile(path, sizeof(path), NONULL(MCore.tmpdir), NULL); if (!msg->fp) { return -1; }