summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Schroeder <mls@suse.de>2013-12-17 13:33:20 +0100
committerMichael Schroeder <mls@suse.de>2013-12-17 13:33:20 +0100
commit441682b036d5c1c0346fef6151c22abffbf647d5 (patch)
tree21856263de4f14c599e4d2e6dcf0f0df6c5cf860
parenta8e47f15b81002c721fe164885d809562c5d3e7a (diff)
downloadlibsolv-441682b036d5c1c0346fef6151c22abffbf647d5.tar.gz
libsolv-441682b036d5c1c0346fef6151c22abffbf647d5.tar.bz2
libsolv-441682b036d5c1c0346fef6151c22abffbf647d5.zip
fix typo in solver_addbestrules
-rw-r--r--src/rules.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rules.c b/src/rules.c
index 7041b2a..c56c08f 100644
--- a/src/rules.c
+++ b/src/rules.c
@@ -2959,7 +2959,7 @@ solver_addbestrules(Solver *solv, int havebestinstalljobs)
if (solv->update_targets && solv->update_targets->elements[p - installed->start])
prune_to_update_targets(solv, solv->update_targets->elements + solv->update_targets->elements[p - installed->start], &q2);
if (solv->dupinvolvedmap.size && MAPTST(&solv->dupinvolvedmap, p))
- prune_to_dup_packages(solv, p, &q);
+ prune_to_dup_packages(solv, p, &q2);
policy_filter_unwanted(solv, &q2, POLICY_MODE_RECOMMEND);
for (j = 0; j < q2.count; j++)
queue_pushunique(&q, q2.elements[j]);