X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=recvattach.c;h=885c52855cee261ed6cad677d6a354060180a964;hb=c6b9d35ed9361e4defab9762a7480d5126405ae9;hp=d1c711708aed2fd1c900ddfda4f827588b38d0ce;hpb=eed5352e46df93f8921d2e6dfdc95b027bad6e1e;p=apps%2Fmadmutt.git diff --git a/recvattach.c b/recvattach.c index d1c7117..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)); }