X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=editmsg.c;h=6d848e321f7c71e49eab4b459e8231df38c1700e;hp=f20445609e1248a303a571dceaa6adf0fcb16cfe;hb=3132c5f07ae687b5daac6b570347369967850863;hpb=45528548fd2dddcbef9396b0589ec88d722766ee diff --git a/editmsg.c b/editmsg.c index f204456..6d848e3 100644 --- a/editmsg.c +++ b/editmsg.c @@ -11,10 +11,10 @@ #include #include +#include #include "mutt.h" #include "copy.h" -#include "mx.h" /* * return value: @@ -165,8 +165,7 @@ static int edit_one_message (CONTEXT * ctx, HEADER * cur) mx_close_mailbox (&tmpctx, NULL); bail: - if (fp) - fclose (fp); + m_fclose(&fp); if (rc >= 0) unlink (tmp);