X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=postpone.c;h=d8d8cf5979afdaf8a8c04c696c64e6bea7e30976;hb=9ed7a487e3a922f2cbb222961c2c9710c3a65f91;hp=7198d53528d76c870f19c97b718579d74ed60aa5;hpb=ac1ea3143e61def7fc9000bee6d0d59d56c5b997;p=apps%2Fmadmutt.git diff --git a/postpone.c b/postpone.c index 7198d53..d8d8cf5 100644 --- a/postpone.c +++ b/postpone.c @@ -15,6 +15,7 @@ #include #include #include +#include #include @@ -22,7 +23,6 @@ #include "handler.h" #include "sort.h" #include "thread.h" -#include "mx.h" #include #include @@ -622,7 +622,7 @@ int mutt_prepare_template (FILE * fp, CONTEXT * ctx, HEADER * newhdr, else mutt_decode_attachment (b, &s); - if (safe_fclose (&s.fpout) != 0) + if (m_fclose(&s.fpout) != 0) goto bail; m_strreplace(&b->filename, file); @@ -656,7 +656,7 @@ bail: /* that's it. */ if (bfp != fp) - fclose (bfp); + m_fclose(&bfp); if (msg) mx_close_message (&msg);