X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=crypt.c;h=ab611bf69eeb2a45ec4a71dcf3bded54d1afa431;hp=c1225ac3ec792c82ba8401b62689f0a4bea0207f;hb=2a06362a155582cd59ae2ef6f0df71694a7eede3;hpb=c98480f8568e6c1bc927c6c5f2b5e80b4aa6548c diff --git a/crypt.c b/crypt.c index c1225ac..ab611bf 100644 --- a/crypt.c +++ b/crypt.c @@ -22,10 +22,11 @@ #include #include +#include + #include "mutt.h" #include "handler.h" #include "mutt_curses.h" -#include "mime.h" #include "copy.h" #include "mutt_crypt.h" #include "pgp.h" @@ -750,7 +751,7 @@ int mutt_signed_handler (BODY * a, STATE * s) if ((protocol_minor = strchr (protocol, '/'))) protocol_minor++; - strfcpy (major, protocol, sizeof (major)); + m_strcpy(major, sizeof(major), protocol); if ((t = strchr (major, '/'))) *t = '\0';