- oops, good thing the vendorcheck isn't used in real life yet
authorMichael Schroeder <mls@suse.de>
Tue, 16 Dec 2008 18:19:51 +0000 (18:19 +0000)
committerMichael Schroeder <mls@suse.de>
Tue, 16 Dec 2008 18:19:51 +0000 (18:19 +0000)
src/policy.c

index 0508715..0bbe7b1 100644 (file)
@@ -430,7 +430,7 @@ policy_illegal_vendorchange(Solver *solv, Solvable *s1, Solvable *s2)
   if (!vendormask1)
     return 0;
   vendormask2 = pool_vendor2mask(pool, s2->vendor);
-  if ((vendormask1 & vendormask2) == 0)
+  if ((vendormask1 & vendormask2) != 0)
     return 0;
   return 1;
 }