X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=recvattach.c;h=198bfa7f762a30db095a28475d7f3e3a7055188a;hp=b9db799f523531d45a2020469f25d69324ffa9fe;hb=922414d195e08acd70f031108d89c39237e18e42;hpb=3b7a8f7577e7b40d39ba510f54bde0d3ec0cc58f diff --git a/recvattach.c b/recvattach.c index b9db799..198bfa7 100644 --- a/recvattach.c +++ b/recvattach.c @@ -500,7 +500,7 @@ mutt_query_pipe_attachment(char *command, FILE * fp, BODY * body, int afilter) CLEARLINE (LINES - 1); return; } - tempfd = m_tempfd(tfile, sizeof(tfile), NONULL(Tempdir), NULL); + tempfd = m_tempfd(tfile, sizeof(tfile), NONULL(MCore.tmpdir), NULL); } if (mutt_pipe_attachment(fp, body, command, tempfd)) { @@ -634,7 +634,7 @@ static void print_attachment_list (FILE * fp, int tag, BODY * top, FILE *ifp; int newfile_fd; - newfile_fd = m_tempfd(newfile, sizeof(newfile), NONULL(Tempdir), NULL); + newfile_fd = m_tempfd(newfile, sizeof(newfile), NONULL(MCore.tmpdir), NULL); if (mutt_decode_save_attachment (fp, top, newfile_fd, M_PRINTING) == 0) { if ((ifp = fopen (newfile, "r")) != NULL) { mutt_copy_stream (ifp, state->fpout);