diff options
author | Timo Teräs <timo.teras@iki.fi> | 2013-06-13 21:58:54 +0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2013-06-13 21:59:08 +0300 |
commit | 59d15ab2599777b24e65fad7a1fb052de4f5ef38 (patch) | |
tree | 4b66c5254f346df3cb1675d3b1da9a50250d53cd /src/commit.c | |
parent | 2ff59b7c23d81d819d8b2dc3268ee70f0cb4d71b (diff) | |
download | apk-tools-59d15ab2599777b24e65fad7a1fb052de4f5ef38.tar.gz apk-tools-59d15ab2599777b24e65fad7a1fb052de4f5ef38.tar.bz2 apk-tools-59d15ab2599777b24e65fad7a1fb052de4f5ef38.tar.xz apk-tools-59d15ab2599777b24e65fad7a1fb052de4f5ef38.zip |
solver, errors: fix few additional test cases and clean ups
Diffstat (limited to 'src/commit.c')
-rw-r--r-- | src/commit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commit.c b/src/commit.c index a81bfc4..b8bf1a7 100644 --- a/src/commit.c +++ b/src/commit.c @@ -470,8 +470,8 @@ static void print_dep(struct apk_package *pkg0, struct apk_dependency *d0, struc static void print_deps(struct print_state *ps, struct apk_package *pkg, int match) { ps->match = match; - apk_pkg_foreach_matching_dependency(NULL, ps->world, ps->match, pkg, print_dep, ps); - apk_pkg_foreach_reverse_dependency(pkg, ps->match, print_dep, ps); + apk_pkg_foreach_matching_dependency(NULL, ps->world, match, pkg, print_dep, ps); + apk_pkg_foreach_reverse_dependency(pkg, match, print_dep, ps); label_end(ps); } |