X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=nntp%2Fnntp.c;h=b7d83eac20698d9336f36c05091e44e41be7f80f;hb=c68aaa3d8d4b5b64be9936675fe1194688debab2;hp=c2f800210fd000f1e21ce08e29b71c467be52326;hpb=56ac9bea51f338d488828ad1114d58b4a9542209;p=apps%2Fmadmutt.git diff --git a/nntp/nntp.c b/nntp/nntp.c index c2f8002..b7d83ea 100644 --- a/nntp/nntp.c +++ b/nntp/nntp.c @@ -437,7 +437,7 @@ static int nntp_read_header (CONTEXT * ctx, const char *msgid, int ret; HEADER *h = ctx->hdrs[ctx->msgcount]; - f = m_tempfile(tempfile, sizeof(tempfile), NONULL(Tempdir), NULL); + f = m_tempfile(tempfile, sizeof(tempfile), NONULL(MCore.tmpdir), NULL); if (!f) return -1; @@ -915,7 +915,7 @@ int nntp_fetch_message (MESSAGE * msg, CONTEXT * ctx, int msgno) p_delete(&cache->path); cache->index = ctx->hdrs[msgno]->index; - 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; }