]> granicus.if.org Git - mutt/commitdiff
handle my_hdr message-id: correctly.
authorThomas Roessler <roessler@does-not-exist.org>
Fri, 23 Mar 2001 12:30:17 +0000 (12:30 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Fri, 23 Mar 2001 12:30:17 +0000 (12:30 +0000)
send.c

diff --git a/send.c b/send.c
index 88b84c6c80129b8fada12ffc5494b4e16160eee0..de66cc93214c9ff3be93cdb34b7171228e38f70c 100644 (file)
--- a/send.c
+++ b/send.c
@@ -279,6 +279,8 @@ static void process_user_header (ENVELOPE *env)
       rfc822_free_address (&env->reply_to);
       env->reply_to = rfc822_parse_adrlist (env->reply_to, uh->data + 9);
     }
+    else if (mutt_strncasecmp ("message-id:", uh->data, 11) == 0)
+      mutt_str_replace (&env->message_id, uh->data + 11);
     else if (mutt_strncasecmp ("to:", uh->data, 3) != 0 &&
             mutt_strncasecmp ("cc:", uh->data, 3) != 0 &&
             mutt_strncasecmp ("bcc:", uh->data, 4) != 0 &&