X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/859d1e1a78f6c61a062bfb534652f5ce3ffb672f..be6c3984:/uip/mhoutsbr.c?ds=inline diff --git a/uip/mhoutsbr.c b/uip/mhoutsbr.c index 4845f7e1..9584d789 100644 --- a/uip/mhoutsbr.c +++ b/uip/mhoutsbr.c @@ -12,8 +12,6 @@ #include #include #include -#include -#include #include #include #include @@ -86,7 +84,7 @@ output_content (CT ct, FILE *out) char *boundary = ci->ci_values[0], **ap, **vp; for (ap = ci->ci_attrs, vp = ci->ci_values; *ap; ++ap, ++vp) { - if (! mh_strcasecmp ("boundary", *ap)) { + if (! strcasecmp ("boundary", *ap)) { boundary = *vp; break; } @@ -249,7 +247,7 @@ writeExternalBody (CT ct, FILE *out) case 'N': for (ap = ci2->ci_attrs, ep = ci2->ci_values; *ap; ap++, ep++) - if (!mh_strcasecmp (*ap, "name")) { + if (!strcasecmp (*ap, "name")) { fprintf (out, "%s", *ep); break; } @@ -406,7 +404,7 @@ writeBase64ct (CT ct, FILE *out) if ((fd = (*ct->c_ceopenfnx) (ct, &file)) == NOTOK) return NOTOK; - result = writeBase64aux (ce->ce_fp, out); + result = writeBase64aux (ce->ce_fp, out, (ct->c_type == CT_TEXT)); (*ct->c_ceclosefnx) (ct); return result; }