projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Now deal with EDITOR from lua as well.
[apps/madmutt.git]
/
headers.c
diff --git
a/headers.c
b/headers.c
index
e9775d5
..
bd4f77e
100644
(file)
--- a/
headers.c
+++ b/
headers.c
@@
-15,9
+15,8
@@
#include <lib-crypt/crypt.h>
#include "mutt_idna.h"
#include <lib-crypt/crypt.h>
#include "mutt_idna.h"
-void mutt_edit_headers (const char *editor,
- const char *body,
- HEADER * msg, char *fcc, ssize_t fcclen)
+void mutt_edit_headers(const char *body,
+ HEADER * msg, char *fcc, ssize_t fcclen)
{
char path[_POSIX_PATH_MAX]; /* tempfile used to edit headers + body */
char buffer[LONG_STRING];
{
char path[_POSIX_PATH_MAX]; /* tempfile used to edit headers + body */
char buffer[LONG_STRING];
@@
-57,7
+56,7
@@
void mutt_edit_headers (const char *editor,
mtime = m_decrease_mtime(path, &st);
mtime = m_decrease_mtime(path, &st);
- mutt_edit_file
(editor,
path);
+ mutt_edit_file
(
path);
stat (path, &st);
if (mtime == st.st_mtime) {
/* the file has not changed! */
stat (path, &st);
if (mtime == st.st_mtime) {
/* the file has not changed! */