X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=recvattach.c;h=f4ab2a3fb25ae32c3ab0542afb21180be8b3e45c;hp=ac2861d892925fe0af43074b6c08d983195fd8d5;hb=50e7679dd16170d715accdb645258f87777167dd;hpb=cfd5f411041c7ef44087b032751792fadc74586d diff --git a/recvattach.c b/recvattach.c index ac2861d..f4ab2a3 100644 --- a/recvattach.c +++ b/recvattach.c @@ -14,7 +14,6 @@ #include #include -#include #include #include @@ -483,10 +482,8 @@ mutt_query_pipe_attachment(char *command, FILE * fp, BODY * body, int afilter) snprintf(warning, sizeof (warning), _("WARNING! You are about to overwrite %s, continue?"), body->filename); - if (mutt_yesorno (warning, M_NO) != M_YES) { - CLEARLINE(main_w, LINES - 1); - return; - } + if (mutt_yesorno (warning, M_NO) != M_YES) + return tempfd = m_tempfd(tfile, sizeof(tfile), NONULL(mod_core.tmpdir), NULL); }