X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=send.c;h=01fde6c680c3d6e13daa55d9437c08d5b879d0d2;hp=bc84b6bd71e277648d18e9bab6a017498a64d6ce;hb=c6b9d35ed9361e4defab9762a7480d5126405ae9;hpb=ae0ce4dfcafa0c3820f107c5bfa8bd06e5272b57 diff --git a/send.c b/send.c index bc84b6b..01fde6c 100644 --- a/send.c +++ b/send.c @@ -267,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); } } }