X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=nntp%2Fnntp.c;h=b7d83eac20698d9336f36c05091e44e41be7f80f;hp=c2f800210fd000f1e21ce08e29b71c467be52326;hb=558b0bd9de90a9dc28f409d8f46679bf48c72ded;hpb=56ac9bea51f338d488828ad1114d58b4a9542209 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; }