summaryrefslogtreecommitdiff
path: root/src/solvable.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/solvable.c')
-rw-r--r--src/solvable.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/solvable.c b/src/solvable.c
index 6f6f590..dfe8ce1 100644
--- a/src/solvable.c
+++ b/src/solvable.c
@@ -508,7 +508,8 @@ solvable_identical(Solvable *s1, Solvable *s2)
return 0;
if (s1->evr != s2->evr)
return 0;
- if (s1->vendor != s2->vendor)
+ /* map missing vendor to empty string */
+ if ((s1->vendor ? s1->vendor : 1) != (s2->vendor ? s2->vendor : 1))
return 0;
/* looking good, try some fancier stuff */