X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fshow.c;h=31a05e93146373a2021a51bc59a63b1c44183f16;hp=b068d4952be836ec1f98423b4453b43bd9f96bc9;hb=d2f12554a254e814dcdafb3828fc0d9936154eef;hpb=8e0d377cb731b0fbc39a9b2874ec6b772e53620b diff --git a/uip/show.c b/uip/show.c index b068d49..31a05e9 100644 --- a/uip/show.c +++ b/uip/show.c @@ -81,9 +81,9 @@ main (int argc, char **argv) /* read user profile/context */ context_read(); - if (!strcasecmp (invo_name, "next")) { + if (!mh_strcasecmp (invo_name, "next")) { mode = NEXT; - } else if (!strcasecmp (invo_name, "prev")) { + } else if (!mh_strcasecmp (invo_name, "prev")) { mode = PREV; } arguments = getarguments (invo_name, argc, argv, 1); @@ -400,7 +400,7 @@ is_nontext (char *msgnam) /* * Check Content-Type field */ - if (!strcasecmp (name, TYPE_FIELD)) { + if (!mh_strcasecmp (name, TYPE_FIELD)) { int passno; char c; @@ -455,7 +455,7 @@ invalid: if (!*bp) goto invalid; if (passno > 1) { - if ((result = (strcasecmp (bp, "plain") != 0))) + if ((result = (mh_strcasecmp (bp, "plain") != 0))) goto out; *dp = c; for (dp++; isspace (*dp); dp++) @@ -487,7 +487,7 @@ invalid: /* Check the character set */ result = !check_charset (dp, strlen (dp)); } else { - if (!(result = (strcasecmp (bp, "text") != 0))) { + if (!(result = (mh_strcasecmp (bp, "text") != 0))) { *dp = c; bp = dp; passno = 2; @@ -506,7 +506,7 @@ out: /* * Check Content-Transfer-Encoding field */ - if (!strcasecmp (name, ENCODING_FIELD)) { + if (!mh_strcasecmp (name, ENCODING_FIELD)) { cp = add (buf, NULL); while (state == FLDPLUS) { state = m_getfld (state, name, buf, sizeof(buf), fp); @@ -517,9 +517,9 @@ out: for (dp = bp; istoken (*dp); dp++) continue; *dp = '\0'; - result = (strcasecmp (bp, "7bit") - && strcasecmp (bp, "8bit") - && strcasecmp (bp, "binary")); + result = (mh_strcasecmp (bp, "7bit") + && mh_strcasecmp (bp, "8bit") + && mh_strcasecmp (bp, "binary")); free (cp); if (result) {