X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=main.c;h=3624bb6653652b903c4195056a31997cfe64f210;hb=9ed7a487e3a922f2cbb222961c2c9710c3a65f91;hp=96493be44b807291fa4168a7cc86db7cd3409b22;hpb=8476307969a605bea67f6b702b0c1e7a52038bed;p=apps%2Fmadmutt.git diff --git a/main.c b/main.c index 96493be..3624bb6 100644 --- a/main.c +++ b/main.c @@ -745,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); } @@ -753,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); } }