X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=send.c;h=6f988dd0eee637b6920561c4eb7765c5230a61fe;hp=22d4c90ecd22442db4552d7e26cf7097b9ed9ca8;hb=be3bd578d8557b8d0cb9138153ee30e14b33ec58;hpb=0f44dc85fc1280372ffab911d701e703d803fb4b diff --git a/send.c b/send.c index 22d4c90..6f988dd 100644 --- a/send.c +++ b/send.c @@ -16,7 +16,6 @@ #include "rfc2047.h" #include "keymap.h" #include "mime.h" -#include "mailbox.h" #include "copy.h" #include "mx.h" #include "mutt_crypt.h" @@ -1663,7 +1662,7 @@ int ci_send_message (int flags, /* send mode */ */ #ifdef USE_IMAP - if ((flags & SENDBATCH) && fcc[0] && mx_is_imap (fcc)) + if ((flags & SENDBATCH) && fcc[0] && mx_get_magic (fcc) == M_IMAP) fcc[0] = '\0'; #endif