X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=recvcmd.c;h=6a9d21e1055b61b4b1d3b2d912b604146db4f27c;hp=92e3cbaa44436b3eb8cd79373e4ffce7349092b8;hb=377cbd44d1e296a96a5d07c1f26386a4fff80cc9;hpb=6833ce8bdca2d64e14485118f2a4417b7e1cb1b1 diff --git a/recvcmd.c b/recvcmd.c index 92e3cba..6a9d21e 100644 --- a/recvcmd.c +++ b/recvcmd.c @@ -19,6 +19,10 @@ * Boston, MA 02111, USA. */ +#if HAVE_CONFIG_H +# include "config.h" +#endif + #include "mutt.h" #include "mutt_curses.h" #include "mutt_menu.h" @@ -180,10 +184,10 @@ void mutt_attach_bounce (FILE * fp, HEADER * hdr, mutt_format_string (prompt, sizeof (prompt) - 4, 0, COLS-extra_space, 0, 0, prompt, sizeof (prompt), 0); - strncat (prompt, "...?", sizeof (prompt)); + safe_strcat (prompt, sizeof (prompt), "...?"); } else - strncat (prompt, "?", sizeof (prompt)); + safe_strcat (prompt, sizeof (prompt), "?"); if (query_quadoption (OPT_BOUNCE, prompt) != M_YES) {