]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch-reply.c
notmuch reply: Prevent GMIME assertion complaints for empty Reply-to header.
[notmuch] / notmuch-reply.c
index 885bedb14871f79894853f0e3ba47e41ffc5c7cb..0d29cf075d0c8b61d39910ec6ddd24605a0a8649 100644 (file)
@@ -207,6 +207,9 @@ mailing_list_munged_reply_to (notmuch_message_t *message)
     InternetAddressMailbox *mailbox;
 
     header = notmuch_message_get_header (message, "reply-to");
+    if (*header == '\0')
+       return 0;
+
     list = internet_address_list_parse_string (header);
 
     if (internet_address_list_length (list) != 1)