Rocco Rutte
[apps/madmutt.git] / recvcmd.c
index 8e18ca9..e6d54f9 100644 (file)
--- a/recvcmd.c
+++ b/recvcmd.c
 #include "mutt_menu.h"
 #include "rfc1524.h"
 #include "mime.h"
-#include "mailbox.h"
 #include "attach.h"
 #include "mapping.h"
 #include "mx.h"
 #include "copy.h"
 #include "mutt_idna.h"
 
+#include "lib/mem.h"
+#include "lib/intl.h"
+#include "lib/str.h"
+
 /* some helper functions to verify that we are exclusively operating
  * on message/rfc822 attachments
  */
@@ -680,7 +683,7 @@ attach_reply_envelope_defaults (ENVELOPE * env, ATTACHPTR ** idx,
   if ((flags & SENDNEWS)) {
     /* in case followup set Newsgroups: with Followup-To: if it present */
     if (!env->newsgroups && curenv &&
-        mutt_strcasecmp (curenv->followup_to, "poster"))
+        safe_strcasecmp (curenv->followup_to, "poster"))
       env->newsgroups = safe_strdup (curenv->followup_to);
   }
   else