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]
/
recvattach.c
diff --git
a/recvattach.c
b/recvattach.c
index
07905f9
..
c07ad2f
100644
(file)
--- a/
recvattach.c
+++ b/
recvattach.c
@@
-15,12
+15,14
@@
#include <lib-ui/curses.h>
#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-mx/mx.h>
+
+#include <lib-sys/unix.h>
#include "mutt.h"
#include "handler.h"
#include "recvattach.h"
#include "attach.h"
#include "mutt.h"
#include "handler.h"
#include "recvattach.h"
#include "attach.h"
-#include "mx.h"
#include "copy.h"
#include <lib-crypt/crypt.h>
#include "copy.h"
#include <lib-crypt/crypt.h>
@@
-936,7
+938,7
@@
void mutt_view_attachments (HEADER * hdr)
secured = !crypt_smime_decrypt_mime (_fp, &fp, _cur, &cur);
body_list_wipe(&_cur);
secured = !crypt_smime_decrypt_mime (_fp, &fp, _cur, &cur);
body_list_wipe(&_cur);
-
safe_fclose
(&_fp);
+
m_fclose
(&_fp);
}
}
else
}
}
else