]> diplodocus.org Git - nmh/blobdiff - uip/mhmisc.c
Tweaked check of -outfile in test-mhstore.
[nmh] / uip / mhmisc.c
index 86b8ad804f52212f070e261bf123d14ba6183246..7d320239d2793e91f0c6a3b92245c5e716cfad29 100644 (file)
@@ -8,7 +8,6 @@
  */
 
 #include <h/mh.h>
-#include <errno.h>
 #include <h/mime.h>
 #include <h/mhparse.h>
 #include <h/utils.h>
@@ -69,7 +68,7 @@ type_ok (CT ct, int sP)
 
     snprintf (buffer, sizeof(buffer), "%s/%s", ci->ci_type, ci->ci_subtype);
     for (ap = types; *ap; ap++)
-       if (!mh_strcasecmp (*ap, ci->ci_type) || !mh_strcasecmp (*ap, buffer))
+       if (!strcasecmp (*ap, ci->ci_type) || !strcasecmp (*ap, buffer))
            return 1;
 
     return 0;