aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/package.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/package.c b/src/package.c
index 9bd7529..0748488 100644
--- a/src/package.c
+++ b/src/package.c
@@ -1827,7 +1827,7 @@ static void required_by(slapt_pkg_list_t *avail,
satisfies = slapt_parse_delimited_list(dep_list->items[d],'|');
for (s = 0; s < satisfies->count; s++) {
slapt_pkg_info_t *tmp_pkg = parse_meta_entry(avail,installed_pkgs,satisfies->items[s]);
- if (tmp_pkg != NULL)
+ if (tmp_pkg == NULL)
continue;
if (strcmp(tmp_pkg->name,pkg->name) == 0) {