]> git.marmaro.de Git - mmh/blobdiff - uip/mhbuildsbr.c
Replaced mkinstalldirs with `mkdir -p'.
[mmh] / uip / mhbuildsbr.c
index ab8d99c1b1504140b2b6d022c0032d2f0da6d694..069ea85f2f87dc44d815f8ec5b695530edd1f8c4 100644 (file)
@@ -20,7 +20,6 @@
 #include <h/md5.h>
 #include <errno.h>
 #include <signal.h>
-#include <h/mts.h>
 #include <h/tws.h>
 #include <h/mime.h>
 #include <h/mhparse.h>
@@ -1335,7 +1334,7 @@ scan_content(CT ct)
                                        if (!isspace(*cp))
                                                break;
                                *++cp = '\0';
-                               if (!strncmp(buffer + 2, prefix, len) &&
+                               if (strncmp(buffer + 2, prefix, len)==0 &&
                                                isdigit(buffer[2 + len])) {
                                        boundaryclash = 1;
                                        /* no need to keep checking */
@@ -1562,11 +1561,6 @@ skip_headers:
        switch (ct->c_encoding) {
        case CE_7BIT:
                /* Nothing to output */
-#if 0
-               np = getcpy(ENCODING_FIELD);
-               vp = concat(" ", "7bit", "\n", NULL);
-               add_header(ct, np, vp);
-#endif
                break;
 
        case CE_8BIT: