]> granicus.if.org Git - neomutt/commitdiff
Use mutt_is_message_type() in the message transformation code.
authorThomas Roessler <roessler@does-not-exist.org>
Thu, 19 Nov 1998 17:14:02 +0000 (17:14 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Thu, 19 Nov 1998 17:14:02 +0000 (17:14 +0000)
sendlib.c

index 8bece5a326f829c62055e779028bc256b9689dfe..4602728a20ab6e055d929ca381a9676d99e3a73e 100644 (file)
--- a/sendlib.c
+++ b/sendlib.c
@@ -850,7 +850,7 @@ static void transform_to_7bit (BODY *a, FILE *fpin)
 
       transform_to_7bit (a->parts, fpin);
     } 
-    else if (a->type == TYPEMESSAGE && mutt_strcasecmp (a->subtype, "delivery-status"))
+    else if (mutt_is_message_type(a->type, a->subtype))
     {
       mutt_message_to_7bit (a, fpin);
     }