projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
makedoc won't work anymore.
[apps/madmutt.git]
/
editmsg.c
diff --git
a/editmsg.c
b/editmsg.c
index
c77cbf9
..
c66f5ee
100644
(file)
--- a/
editmsg.c
+++ b/
editmsg.c
@@
-92,7
+92,7
@@
static int edit_one_message (CONTEXT * ctx, HEADER * cur)
goto bail;
}
goto bail;
}
- mutt_edit_file
(NONULL (Editor),
tmp);
+ mutt_edit_file
(
tmp);
if ((rc = stat (tmp, &sb)) == -1) {
mutt_error (_("Can't stat %s: %s"), tmp, strerror (errno));
if ((rc = stat (tmp, &sb)) == -1) {
mutt_error (_("Can't stat %s: %s"), tmp, strerror (errno));
@@
-165,8
+165,7
@@
static int edit_one_message (CONTEXT * ctx, HEADER * cur)
mx_close_mailbox (&tmpctx, NULL);
bail:
mx_close_mailbox (&tmpctx, NULL);
bail:
- if (fp)
- fclose (fp);
+ m_fclose(&fp);
if (rc >= 0)
unlink (tmp);
if (rc >= 0)
unlink (tmp);