begin to work on a lib-mime that will hold most of the MIME related stuff.
[apps/madmutt.git] / crypt.c
diff --git a/crypt.c b/crypt.c
index c1225ac..ab611bf 100644 (file)
--- a/crypt.c
+++ b/crypt.c
 #include <lib-lib/mem.h>
 #include <lib-lib/macros.h>
 
+#include <lib-mime/mime.h>
+
 #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';