X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/2e768e3cc0ce768373d3320eca4cdd08b8cf646a..b4f2851d4:/uip/mhoutsbr.c?ds=sidebyside diff --git a/uip/mhoutsbr.c b/uip/mhoutsbr.c index db64c4b8..df23047e 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; } @@ -300,7 +298,7 @@ write8Bit (CT ct, FILE *out) int fd; size_t inbytes; char c, *file, buffer[BUFSIZ]; - CE ce = ct->c_cefile; + CE ce = &ct->c_cefile; file = NULL; if ((fd = (*ct->c_ceopenfnx) (ct, &file)) == NOTOK) @@ -329,7 +327,7 @@ writeQuoted (CT ct, FILE *out) int fd; char *cp, *file; char c, buffer[BUFSIZ]; - CE ce = ct->c_cefile; + CE ce = &ct->c_cefile; file = NULL; if ((fd = (*ct->c_ceopenfnx) (ct, &file)) == NOTOK) @@ -400,7 +398,7 @@ writeBase64ct (CT ct, FILE *out) { int fd, result; char *file; - CE ce = ct->c_cefile; + CE ce = &ct->c_cefile; file = NULL; if ((fd = (*ct->c_ceopenfnx) (ct, &file)) == NOTOK)