X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fmhstoresbr.c;h=bf5088e7ee4567b420a4385a84db6f88c608861b;hp=5776ef357859f4e492e87ae0b275303e5219aa37;hb=d2f12554a254e814dcdafb3828fc0d9936154eef;hpb=8e0d377cb731b0fbc39a9b2874ec6b772e53620b diff --git a/uip/mhstoresbr.c b/uip/mhstoresbr.c index 5776ef3..bf5088e 100644 --- a/uip/mhstoresbr.c +++ b/uip/mhstoresbr.c @@ -225,8 +225,8 @@ store_application (CT ct) for (ap = ci->ci_attrs, ep = ci->ci_values; *ap; ap++, ep++) { /* check for "type=tar" attribute */ - if (!strcasecmp (*ap, "type")) { - if (strcasecmp (*ep, "tar")) + if (!mh_strcasecmp (*ap, "type")) { + if (mh_strcasecmp (*ep, "tar")) break; tarP = 1; @@ -234,14 +234,14 @@ store_application (CT ct) } /* check for "conversions=compress" attribute */ - if ((!strcasecmp (*ap, "conversions") || !strcasecmp (*ap, "x-conversions")) - && (!strcasecmp (*ep, "compress") || !strcasecmp (*ep, "x-compress"))) { + if ((!mh_strcasecmp (*ap, "conversions") || !mh_strcasecmp (*ap, "x-conversions")) + && (!mh_strcasecmp (*ep, "compress") || !mh_strcasecmp (*ep, "x-compress"))) { zP = 1; continue; } /* check for "conversions=gzip" attribute */ - if ((!strcasecmp (*ap, "conversions") || !strcasecmp (*ap, "x-conversions")) - && (!strcasecmp (*ep, "gzip") || !strcasecmp (*ep, "x-gzip"))) { + if ((!mh_strcasecmp (*ap, "conversions") || !mh_strcasecmp (*ap, "x-conversions")) + && (!mh_strcasecmp (*ep, "gzip") || !mh_strcasecmp (*ep, "x-gzip"))) { gzP = 1; continue; } @@ -1041,7 +1041,7 @@ get_storeproc (CT ct) * the storeproc. */ for (ap = ci->ci_attrs, ep = ci->ci_values; *ap; ap++, ep++) { - if (!strcasecmp (*ap, "name") + if (!mh_strcasecmp (*ap, "name") && *(cp = *ep) != '/' && *cp != '.' && *cp != '|' @@ -1072,10 +1072,10 @@ copy_some_headers (FILE *out, CT ct) * messages are not copied. */ if (!uprf (hp->name, XXX_FIELD_PRF) - && strcasecmp (hp->name, VRSN_FIELD) - && strcasecmp (hp->name, "Subject") - && strcasecmp (hp->name, "Encrypted") - && strcasecmp (hp->name, "Message-ID")) + && mh_strcasecmp (hp->name, VRSN_FIELD) + && mh_strcasecmp (hp->name, "Subject") + && mh_strcasecmp (hp->name, "Encrypted") + && mh_strcasecmp (hp->name, "Message-ID")) fprintf (out, "%s:%s", hp->name, hp->value); hp = hp->next; /* next header field */ }