X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=recvattach.c;h=885c52855cee261ed6cad677d6a354060180a964;hp=e123884f1096a0068b76cce3deebaa286062997c;hb=ae0ce4dfcafa0c3820f107c5bfa8bd06e5272b57;hpb=2ea77d3b2827ba23feb756ce2fb936565ae38998 diff --git a/recvattach.c b/recvattach.c index e123884..885c528 100644 --- a/recvattach.c +++ b/recvattach.c @@ -16,6 +16,7 @@ #include #include #include +#include #include "mutt.h" #include "enter.h" @@ -408,8 +409,8 @@ static int mutt_query_save_attachment (FILE * fp, BODY * body, HEADER * hdr, if (body->filename) { if (directory && *directory) - mutt_concat_path (buf, *directory, mutt_basename (body->filename), - sizeof (buf)); + mutt_concat_path(buf, sizeof(buf), *directory, + mutt_basename(body->filename)); else strfcpy (buf, body->filename, sizeof (buf)); } @@ -994,7 +995,7 @@ void mutt_view_attachments (HEADER * hdr) attach_collapse (cur, 0, 1, 0); mutt_update_attach_index (cur, &idx, &idxlen, &idxmax, menu); - FOREVER { + for (;;) { if (op == OP_NULL) op = mutt_menuLoop (menu); switch (op) {