]> git.ipfire.org Git - thirdparty/libsolv.git/commitdiff
- 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 05087157eb747491f210fc69a332d499fbeaded4..0bbe7b1b4414cc585a77a758d72f10b5f1d84004 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;
 }