projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use m_tempfile instead of mutt_mktemp (again and again)
[apps/madmutt.git]
/
postpone.c
diff --git
a/postpone.c
b/postpone.c
index
7198d53
..
fd06b62
100644
(file)
--- a/
postpone.c
+++ b/
postpone.c
@@
-15,6
+15,7
@@
#include <lib-ui/enter.h>
#include <lib-ui/menu.h>
#include <lib-ui/curses.h>
#include <lib-ui/enter.h>
#include <lib-ui/menu.h>
#include <lib-ui/curses.h>
+#include <lib-mx/mx.h>
#include <lib-sys/unix.h>
#include <lib-sys/unix.h>
@@
-22,7
+23,6
@@
#include "handler.h"
#include "sort.h"
#include "thread.h"
#include "handler.h"
#include "sort.h"
#include "thread.h"
-#include "mx.h"
#include <lib-crypt/crypt.h>
#include <imap/imap.h>
#include <lib-crypt/crypt.h>
#include <imap/imap.h>
@@
-622,7
+622,7
@@
int mutt_prepare_template (FILE * fp, CONTEXT * ctx, HEADER * newhdr,
else
mutt_decode_attachment (b, &s);
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);
goto bail;
m_strreplace(&b->filename, file);