X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=main.c;h=3624bb6653652b903c4195056a31997cfe64f210;hb=9ed7a487e3a922f2cbb222961c2c9710c3a65f91;hp=1e512c5fd30e5bbbe6bfc2fee1655185f59c973f;hpb=5b365d691700e8e59f96dfa3a4c209574da29898;p=apps%2Fmadmutt.git diff --git a/main.c b/main.c index 1e512c5..3624bb6 100644 --- a/main.c +++ b/main.c @@ -20,14 +20,12 @@ #include #include - #include - #include +#include #include "mutt.h" #include "alias.h" -#include "mx.h" #include "buffy.h" #include "sort.h" #include @@ -747,7 +745,7 @@ int main (int argc, char **argv) if (!option (OPTNOCURSES)) mutt_endwin (NULL); perror (tempfile); - fclose (fin); + m_fclose(&fin); p_delete(&tempfile); exit (1); } @@ -755,9 +753,9 @@ int main (int argc, char **argv) mutt_copy_stream (fin, fout); else if (bodytext) fputs (bodytext, fout); - fclose (fout); + m_fclose(&fout); if (fin && fin != stdin) - fclose (fin); + m_fclose(&fin); } }