]> git.marmaro.de Git - mmh/blobdiff - uip/mhmisc.c
Made the RPATHS config option the default and removed the #ifdefs.
[mmh] / uip / mhmisc.c
index 313719f080d4f210785f33f1ec46beb6cc433c55..0c8e644abfc2d6025f440c5fafa1d4723aab5868 100644 (file)
@@ -51,7 +51,7 @@ part_ok(CT ct, int sP)
 
        for (ap = parts; *ap; ap++) {
                len = strlen(*ap);
-               if (!strncmp(*ap, ct->c_partno, len) &&
+               if (strncmp(*ap, ct->c_partno, len)==0 &&
                                (!ct->c_partno[len] ||
                                ct->c_partno[len] == '.' ))
                        return 1;