Explicit checks for return values of strcmp().
[mmh] / uip / mhbuildsbr.c
index ab8d99c..f65b6e3 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 */