X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=send.c;h=01fde6c680c3d6e13daa55d9437c08d5b879d0d2;hp=d2c2c2a09e92af9e77624fb08763c341d31c320f;hb=c6b9d35ed9361e4defab9762a7480d5126405ae9;hpb=2ea77d3b2827ba23feb756ce2fb936565ae38998 diff --git a/send.c b/send.c index d2c2c2a..01fde6c 100644 --- a/send.c +++ b/send.c @@ -15,6 +15,7 @@ #include #include #include +#include #include "mutt.h" #include "enter.h" @@ -266,7 +267,7 @@ static int edit_envelope (ENVELOPE * en, int flags) if (ascii_strncasecmp ("subject:", uh->data, 8) == 0) { p = uh->data + 8; SKIPWS (p); - strncpy (buf, p, sizeof (buf)); + m_strcpy(buf, sizeof(buf), p); } } }