Allow display of 8bit encoded messages. From Kimmo Suominen
authorDan Harkless <dan@harkless.org>
Thu, 13 May 1999 01:17:23 +0000 (01:17 +0000)
committerDan Harkless <dan@harkless.org>
Thu, 13 May 1999 01:17:23 +0000 (01:17 +0000)
<kim@tac.nyc.ny.us>.

uip/mhbuildsbr.c
uip/mhparse.c

index 73907ab3f0a30f0ab8de9980f52a2979a1666b3b..08975511451bde866e7956e526157afb419bd60d 100644 (file)
@@ -1433,9 +1433,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;
     }
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;
     }