fix regression introduced in 73359dc55ff8f4da32149f7270f7ceaccd658256.
authorPierre Habouzit <madcoder@debian.org>
Wed, 16 May 2007 16:34:27 +0000 (18:34 +0200)
committerPierre Habouzit <madcoder@debian.org>
Wed, 16 May 2007 16:34:27 +0000 (18:34 +0200)
  if (str*cmp(a, b)) is similar to if (a != b) ... doh

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
crypt.cpkg

index 819adae..50f1eae 100644 (file)
@@ -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) {