X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=recvattach.c;h=2ca19645269140db37a07f36bc0e9314ac0f1334;hp=ac2861d892925fe0af43074b6c08d983195fd8d5;hb=95986f5aee1c2ee7d12c4b1e4bc47874856c5831;hpb=cfd5f411041c7ef44087b032751792fadc74586d diff --git a/recvattach.c b/recvattach.c index ac2861d..2ca1964 100644 --- a/recvattach.c +++ b/recvattach.c @@ -14,7 +14,6 @@ #include #include -#include #include #include @@ -110,7 +109,7 @@ ATTACHPTR **mutt_gen_attach_list (BODY * m, if (level == 0) mutt_update_tree (idx, *idxlen); - return (idx); + return idx; } /* %c = character set: convert? @@ -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); + if (mutt_yesorno (warning, M_NO) != M_YES) return; - } tempfd = m_tempfd(tfile, sizeof(tfile), NONULL(mod_core.tmpdir), NULL); } @@ -591,7 +588,7 @@ static int can_print(BODY * top, int tag) } } else if (top->parts) - return (can_print(top->parts, tag)); + return can_print(top->parts, tag); if (!tag) break; }