X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=nntp%2Fnntp.c;h=bd1fcf08c68936e092fb08a87c74e0d82c590b8c;hp=c2f800210fd000f1e21ce08e29b71c467be52326;hb=5d0104e059e3bd33be6acc3c00b3f3944a3897f6;hpb=56ac9bea51f338d488828ad1114d58b4a9542209 diff --git a/nntp/nntp.c b/nntp/nntp.c index c2f8002..bd1fcf0 100644 --- a/nntp/nntp.c +++ b/nntp/nntp.c @@ -20,8 +20,7 @@ #include "sort.h" #include "nntp.h" #include "buffy.h" - -#include +#include "crypt.h" #define WANT_LISTGROUP_COMMAND 0 @@ -437,7 +436,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 +914,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; }