X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=recvattach.c;h=29fbb9f759633516c64d78191be42b6e2a148260;hp=518cb590a4e876bf2f93dc95856659382b5e5db5;hb=3438f31945bb94bc4f4b9603ac47fcde03d5c073;hpb=1c62190597f45fd606cf680df3f6a099b9f7ec18 diff --git a/recvattach.c b/recvattach.c index 518cb59..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(stdscr, LINES - 1); - return; - } + if (mutt_yesorno (warning, M_NO) != M_YES) + return tempfd = m_tempfd(tfile, sizeof(tfile), NONULL(mod_core.tmpdir), NULL); }