diff options
author | Thomas Roessler <roessler@does-not-exist.org> | 2001-05-10 09:20:10 +0000 |
---|---|---|
committer | Thomas Roessler <roessler@does-not-exist.org> | 2001-05-10 09:20:10 +0000 |
commit | 6f4390767f929403283afc6f197a9f79967f5476 (patch) | |
tree | 3981cbf313de56b903820bb7d9dbdd7f4cfa0a9e /headers.c | |
parent | 91409e034831b8132183dce5ab80233b821da23a (diff) |
Fix header editing and references headers.
Diffstat (limited to 'headers.c')
-rw-r--r-- | headers.c | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -37,7 +37,6 @@ void mutt_edit_headers (const char *editor, char *p; FILE *ifp, *ofp; int i, keep; - int in_reply_to = 0; /* did we see the in-reply-to field ? */ ENVELOPE *n; time_t mtime; struct stat st; @@ -128,9 +127,7 @@ void mutt_edit_headers (const char *editor, * not, remove the references: field later so that we can generate a new * message based upon this one. */ - if (ascii_strncasecmp ("in-reply-to:", cur->data, 12) == 0) - in_reply_to = 1; - else if (fcc && ascii_strncasecmp ("fcc:", cur->data, 4) == 0) + if (fcc && ascii_strncasecmp ("fcc:", cur->data, 4) == 0) { p = cur->data + 4; SKIPWS (p); @@ -203,6 +200,6 @@ void mutt_edit_headers (const char *editor, } } - if (!in_reply_to) + if (!msg->env->in_reply_to) mutt_free_list (&msg->env->references); } |