From: Michael Schroeder Date: Tue, 16 Dec 2008 18:19:51 +0000 (+0000) Subject: - oops, good thing the vendorcheck isn't used in real life yet X-Git-Tag: BASE-SuSE-Code-12_1-Branch~334 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3469a36d98f89b448a42d1ccaa9f1cdc88141aaf;p=platform%2Fupstream%2Flibsolv.git - oops, good thing the vendorcheck isn't used in real life yet --- diff --git a/src/policy.c b/src/policy.c index 0508715..0bbe7b1 100644 --- a/src/policy.c +++ b/src/policy.c @@ -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; }