]> git.marmaro.de Git - mmh/blobdiff - uip/mhbuildsbr.c
Explicit checks for return values of strcmp().
[mmh] / uip / mhbuildsbr.c
index ab8d99c1b1504140b2b6d022c0032d2f0da6d694..f65b6e32c2e5835752949703c6665f16397ca545 100644 (file)
@@ -1335,7 +1335,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 */