X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=recvattach.c;h=29fbb9f759633516c64d78191be42b6e2a148260;hp=ac2861d892925fe0af43074b6c08d983195fd8d5;hb=00f34116b32751764d42f81159c292d850c74bac;hpb=cfd5f411041c7ef44087b032751792fadc74586d diff --git a/recvattach.c b/recvattach.c index ac2861d..29fbb9f 100644 --- a/recvattach.c +++ b/recvattach.c @@ -483,10 +483,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); }