]> git.marmaro.de Git - mmh/blobdiff - uip/mhparse.c
Allow display of 8bit encoded messages. From Kimmo Suominen
[mmh] / uip / mhparse.c
index 1839a15ddd544b78a204e254fee8ff2e3668f80e..fc5ab20bace30568a5e64620b14915bfbf7293d9 100644 (file)
@@ -1194,9 +1194,9 @@ InitMessage (CT ct)
     struct k2v *kv;
     CI ci = &ct->c_ctinfo;
 
-    if (ct->c_encoding != CE_7BIT) {
+    if ((ct->c_encoding != CE_7BIT) && (ct->c_encoding != CE_8BIT)) {
        admonish (NULL,
-                 "\"%s/%s\" type in message %s should be encoded in 7bit",
+                 "\"%s/%s\" type in message %s should be encoded in 7bit or 8bit",
                  ci->ci_type, ci->ci_subtype, ct->c_file);
        return NOTOK;
     }