fix regression. make the hook types be ints.
[apps/madmutt.git] / send.c
diff --git a/send.c b/send.c
index 8ba9c3c..cf15950 100644 (file)
--- a/send.c
+++ b/send.c
@@ -26,7 +26,7 @@
 #include "keymap.h"
 #include "copy.h"
 #include "mx.h"
-#include "mutt_crypt.h"
+#include <lib-crypt/crypt.h>
 #include "mutt_idna.h"
 #include "url.h"
 #include "attach.h"
@@ -1678,10 +1678,8 @@ int ci_send_message (int flags, /* send mode */
    * I'd like to think a bit more about this before including it.
    */
 
-#ifdef USE_IMAP
   if ((flags & SENDBATCH) && fcc[0] && mx_get_magic (fcc) == M_IMAP)
     fcc[0] = '\0';
-#endif
 
   if (*fcc && m_strcmp("/dev/null", fcc) != 0) {
     BODY *tmpbody = msg->content;