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 and better errors msg
[apps/madmutt.git]
/
compose.c
diff --git
a/compose.c
b/compose.c
index
c1a0de4
..
8a8d0c5
100644
(file)
--- a/
compose.c
+++ b/
compose.c
@@
-1165,7
+1165,7
@@
int mutt_compose_menu (HEADER * msg, /* structure for new message */
p_delete(&idx[idxlen]);
continue;
}
-
fclose (
fp);
+
m_fclose(&
fp);
if ((idx[idxlen]->content = mutt_make_file_attach (fname)) == NULL) {
mutt_error