X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/ece475032adb04cfd3ed79de9637ffa97475cf95..ef1ba39e8dae81091b6c3e73e72825ef6edea3c6:/uip/mhparse.c diff --git a/uip/mhparse.c b/uip/mhparse.c index beaa294a..7e01b050 100644 --- a/uip/mhparse.c +++ b/uip/mhparse.c @@ -657,10 +657,7 @@ get_ctinfo (char *cp, CT ct, int magic) TYPE_FIELD, ct->c_file); return NOTOK; } - - /* down case the content type string */ - for (dp = ci->ci_type; *dp; dp++) - *dp = tolower ((unsigned char) *dp); + ToLower(ci->ci_type); while (isspace ((unsigned char) *cp)) cp++; @@ -695,10 +692,7 @@ get_ctinfo (char *cp, CT ct, int magic) TYPE_FIELD, ct->c_file, ci->ci_type); return NOTOK; } - - /* down case the content subtype string */ - for (dp = ci->ci_subtype; *dp; dp++) - *dp = tolower ((unsigned char) *dp); + ToLower(ci->ci_subtype); magic_skip: while (isspace ((unsigned char) *cp))