projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fclose -> m_fclose
[apps/madmutt.git]
/
main.c
diff --git
a/main.c
b/main.c
index
1e512c5
..
3624bb6
100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-20,14
+20,12
@@
#include <sys/utsname.h>
#include <lib-sys/mutt_signal.h>
#include <sys/utsname.h>
#include <lib-sys/mutt_signal.h>
-
#include <lib-mime/mime.h>
#include <lib-mime/mime.h>
-
#include <lib-ui/curses.h>
#include <lib-ui/curses.h>
+#include <lib-mx/mx.h>
#include "mutt.h"
#include "alias.h"
#include "mutt.h"
#include "alias.h"
-#include "mx.h"
#include "buffy.h"
#include "sort.h"
#include <lib-crypt/crypt.h>
#include "buffy.h"
#include "sort.h"
#include <lib-crypt/crypt.h>
@@
-747,7
+745,7
@@
int main (int argc, char **argv)
if (!option (OPTNOCURSES))
mutt_endwin (NULL);
perror (tempfile);
if (!option (OPTNOCURSES))
mutt_endwin (NULL);
perror (tempfile);
-
fclose (
fin);
+
m_fclose(&
fin);
p_delete(&tempfile);
exit (1);
}
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);
mutt_copy_stream (fin, fout);
else if (bodytext)
fputs (bodytext, fout);
-
fclose (
fout);
+
m_fclose(&
fout);
if (fin && fin != stdin)
if (fin && fin != stdin)
-
fclose (
fin);
+
m_fclose(&
fin);
}
}
}
}