X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=lib-mx%2Fcompress.c;h=c28eee69edc33da00a0e8e11b47e7840fe255cb7;hp=62a0815ad37b4b0eed0b1eff114a71ed1df821fb;hb=8db3fe9c19320b6f6e508d6b1aae03980239a930;hpb=2ac2bb6e436cef59dcbb88031b276aa81a109785 diff --git a/lib-mx/compress.c b/lib-mx/compress.c index 62a0815..c28eee6 100644 --- a/lib-mx/compress.c +++ b/lib-mx/compress.c @@ -196,7 +196,7 @@ int mutt_open_read_compressed(CONTEXT * ctx) ctx->realpath = ctx->path; /* Uncompress to /tmp */ - tmpfd = m_tempfd(tmppath, sizeof(tmppath), NONULL(MCore.tmpdir), NULL); + tmpfd = m_tempfd(tmppath, sizeof(tmppath), NONULL(mod_core.tmpdir), NULL); /* If we cannot open tempfile, that means the file already exists (!?) * or we are following a symlink, which is bad and insecure. */ @@ -289,7 +289,7 @@ int mutt_open_append_compressed (CONTEXT * ctx) ctx->realpath = ctx->path; /* Uncompress to /tmp */ - fh = m_tempfile(tmppath, sizeof(tmppath), NONULL(MCore.tmpdir), NULL); + fh = m_tempfile(tmppath, sizeof(tmppath), NONULL(mod_core.tmpdir), NULL); m_fclose(&fh); ctx->path = p_dupstr(tmppath, m_strlen(tmppath));