summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2012-03-31 23:31:43 +0300
committerTimo Teräs <timo.teras@iki.fi>2012-03-31 23:31:43 +0300
commit7458e4d3f4e85664238938ddeea47419ea3c070b (patch)
tree68121b8ddecc13c8f68224b8de1c00eaf21fa7b4 /src
parenta57db1bba098808ed3545579833ce4372ee4ba20 (diff)
downloadapk-tools-7458e4d3f4e85664238938ddeea47419ea3c070b.tar.gz
apk-tools-7458e4d3f4e85664238938ddeea47419ea3c070b.tar.bz2
apk-tools-7458e4d3f4e85664238938ddeea47419ea3c070b.tar.xz
apk-tools-7458e4d3f4e85664238938ddeea47419ea3c070b.zip
solver: fix a type from previous commit
Diffstat (limited to 'src')
-rw-r--r--src/solver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/solver.c b/src/solver.c
index c26fd7b..f89b1e2 100644
--- a/src/solver.c
+++ b/src/solver.c
@@ -1116,7 +1116,7 @@ static int reconsider_name(struct apk_solver_state *ss, struct apk_name *name)
if (ps0 == NULL || ps0->locked || ps0->conflicts ||
ss->topology_position < pkg0->topology_hard ||
- (pkg0->ipkg == NULL && pkg->filename == NULL &&
+ (pkg0->ipkg == NULL && pkg0->filename == NULL &&
(!ps0->allowed || !pkg_available(ss->db, pkg0))))
continue;