X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/742c1c9d19d543264d2d96523fc64aa00737ad02..d0ae0c245cec54166b98cde12f2c42f0c1b6da3a:/uip/mhparse.c diff --git a/uip/mhparse.c b/uip/mhparse.c index 8a1f9c87..d729768a 100644 --- a/uip/mhparse.c +++ b/uip/mhparse.c @@ -34,13 +34,16 @@ int checksw = 0; /* check Content-MD5 field */ * in a multipart. * 2) Suppress the warning about bogus multipart content, and report it. * 3) Suppress the warning about extraneous trailing ';' in header parameter - * lists, and report it. + * lists. */ int skip_mp_cte_check; int suppress_bogus_mp_content_warning; int bogus_mp_content; int suppress_extraneous_trailing_semicolon_warning; -int extraneous_trailing_semicolon; + +/* + * By default, suppress warning about multiple MIME-Version header fields. + */ int suppress_multiple_mime_version_warning = 1; /* list of preferred type/subtype pairs, for -prefer */ @@ -207,6 +210,8 @@ parse_mime (char *file) CT ct; size_t n; + bogus_mp_content = 0; + /* * Check if file is actually standard input */ @@ -3282,7 +3287,6 @@ parse_header_attrs (const char *filename, const char *fieldname, "parameter list", filename, fieldname); } - extraneous_trailing_semicolon = 1; return DONE; }