]> git.marmaro.de Git - mmh/blobdiff - uip/mhparse.c
Ignore wrong encoding in multipart/*
[mmh] / uip / mhparse.c
index fad75d7f628c87c7e767a3d10232692709572211..7a15b75b1e7b8526c7b789d94bb404589c5b8a1a 100644 (file)
@@ -1035,7 +1035,7 @@ InitMultiPart(CT ct)
        if (ct->c_encoding != CE_7BIT && ct->c_encoding != CE_8BIT
                && ct->c_encoding != CE_BINARY) {
                admonish(NULL, "\"%s/%s\" type in message %s must be encoded in 7bit, 8bit, or binary", ci->ci_type, ci->ci_subtype, ct->c_file);
-               return NOTOK;
+               ct->c_encoding = CE_7BIT;
        }
 
        /* match subtype */