X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=lib-mx%2Fcompress.c;h=6e988caa7148d64683cb0a8654218b36d634d2db;hp=df6c761078c970ae313d9d52b6ca1b30c71a73b9;hb=262e2af383382c02b8a3dda72168f6505ddae15f;hpb=18ebc21bf1d29ed07fa007329879493493e18eb3 diff --git a/lib-mx/compress.c b/lib-mx/compress.c index df6c761..6e988ca 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(Tempdir), NULL); + tmpfd = m_tempfd(tmppath, sizeof(tmppath), NONULL(MCore.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(Tempdir), NULL); + fh = m_tempfile(tmppath, sizeof(tmppath), NONULL(MCore.tmpdir), NULL); m_fclose(&fh); ctx->path = p_dupstr(tmppath, m_strlen(tmppath));