X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=compose.c;h=8a8d0c5c31387c0319f00817e7e816c5a627cdbe;hp=c06f2fd5d88254e7ecdcbab80c93b96e10d61e4d;hb=9ed7a487e3a922f2cbb222961c2c9710c3a65f91;hpb=f779db722043d8c6767149a9afef8c10159516f5 diff --git a/compose.c b/compose.c index c06f2fd..8a8d0c5 100644 --- a/compose.c +++ b/compose.c @@ -20,6 +20,7 @@ #include #include #include +#include #include "mutt.h" #include "alias.h" @@ -28,7 +29,6 @@ #include "recvattach.h" #include "sort.h" #include "charset.h" -#include "mx.h" #include "buffy.h" #ifdef MIXMASTER @@ -36,7 +36,7 @@ #endif #ifdef USE_NNTP -#include "nntp.h" +#include #endif static const char *There_are_no_attachments = N_("There are no attachments."); @@ -1165,7 +1165,7 @@ int mutt_compose_menu (HEADER * msg, /* structure for new message */ p_delete(&idx[idxlen]); continue; } - fclose (fp); + m_fclose(&fp); if ((idx[idxlen]->content = mutt_make_file_attach (fname)) == NULL) { mutt_error