summaryrefslogtreecommitdiffstats
path: root/headers.c
diff options
context:
space:
mode:
authorKevin McCarthy <kevin@8t8.us>2018-12-23 16:23:02 -0800
committerKevin McCarthy <kevin@8t8.us>2018-12-25 13:52:03 -0800
commitf1431b15ce8762929cbbe7010d54fd48687b4c2a (patch)
tree1875d86b7b122124fe80a8cb9627ad5947d41432 /headers.c
parent167bf96ef1ba39eadb7226acf44ac0d8ef599f0c (diff)
Add a new mode for mutt_write_rfc822_header().
Convert the mode parameter to an enum, to make the code a bit more readable.
Diffstat (limited to 'headers.c')
-rw-r--r--headers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/headers.c b/headers.c
index ceef1db1..e9cf4153 100644
--- a/headers.c
+++ b/headers.c
@@ -53,7 +53,7 @@ void mutt_edit_headers (const char *editor,
}
mutt_env_to_local (msg->env);
- mutt_write_rfc822_header (ofp, msg->env, NULL, 1, 0);
+ mutt_write_rfc822_header (ofp, msg->env, NULL, MUTT_WRITE_HEADER_EDITHDRS, 0);
fputc ('\n', ofp); /* tie off the header. */
/* now copy the body of the message. */