From: Pierre Habouzit Date: Wed, 16 May 2007 16:34:27 +0000 (+0200) Subject: fix regression introduced in 73359dc55ff8f4da32149f7270f7ceaccd658256. X-Git-Url: http://git.madism.org/?a=commitdiff_plain;h=3c6c404b6be0ed70ffba80cece46050930149b59;p=apps%2Fmadmutt.git fix regression introduced in 73359dc55ff8f4da32149f7270f7ceaccd658256. if (str*cmp(a, b)) is similar to if (a != b) ... doh Signed-off-by: Pierre Habouzit --- diff --git a/crypt.cpkg b/crypt.cpkg index 819adae..50f1eae 100644 --- a/crypt.cpkg +++ b/crypt.cpkg @@ -197,7 +197,7 @@ static void convert_to_7bit (BODY * a) if (a->type == TYPEMULTIPART) { a->encoding = ENC7BIT; convert_to_7bit(a->parts); - } else if (a->type == TYPEMESSAGE && tok == MIME_DELIVERY_STATUS) { + } else if (a->type == TYPEMESSAGE && tok != MIME_DELIVERY_STATUS) { if (a->encoding != ENC7BIT) mutt_message_to_7bit(a, NULL); } else if (a->encoding == ENC8BIT) {