From: Dan Harkless Date: Thu, 13 May 1999 01:17:23 +0000 (+0000) Subject: Allow display of 8bit encoded messages. From Kimmo Suominen X-Git-Tag: nmh-1_0~191 X-Git-Url: http://git.marmaro.de/?a=commitdiff_plain;ds=sidebyside;h=d057cb7218d8e5a6b30f38a863b73b7d562bf9d0;p=mmh Allow display of 8bit encoded messages. From Kimmo Suominen . --- diff --git a/uip/mhbuildsbr.c b/uip/mhbuildsbr.c index 73907ab..0897551 100644 --- a/uip/mhbuildsbr.c +++ b/uip/mhbuildsbr.c @@ -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; } diff --git a/uip/mhparse.c b/uip/mhparse.c index 1839a15..fc5ab20 100644 --- a/uip/mhparse.c +++ b/uip/mhparse.c @@ -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; }