projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
remove some mutt_mktemp
[apps/madmutt.git]
/
headers.c
diff --git
a/headers.c
b/headers.c
index
2446041
..
f158c12
100644
(file)
--- a/
headers.c
+++ b/
headers.c
@@
-29,8
+29,8
@@
void mutt_edit_headers (const char *editor,
struct stat st;
string_list_t *cur, **last = NULL, *tmp;
-
mutt_mktemp (path
);
- if (
(ofp = safe_fopen (path, "w")) == NULL
) {
+
ofp = m_tempfile(path, sizeof(path), NONULL(Tempdir), NULL
);
+ if (
!ofp
) {
mutt_perror (path);
return;
}