1) returns score instead of distance into equivalences
authorewt <devnull@localhost>
Tue, 16 Jul 1996 03:43:33 +0000 (03:43 +0000)
committerewt <devnull@localhost>
Tue, 16 Jul 1996 03:43:33 +0000 (03:43 +0000)
CVS patchset: 850
CVS date: 1996/07/16 03:43:33

lib/rpmrc.c

index a06929f..0803104 100644 (file)
@@ -151,7 +151,7 @@ static int findArchOsScore(struct archosEquivTable * table, char * name) {
 
     info = archosEquivSearch(table, name);
     if (info) 
-       return info - table->list;
+       return info->score;
     else
        return 0;
 }