diff options
author | Michael Schroeder <mls@suse.de> | 2011-06-06 17:17:29 +0200 |
---|---|---|
committer | Michael Schroeder <mls@suse.de> | 2011-06-06 17:17:29 +0200 |
commit | 76fb56c0d4b829859fefa6a744c0183b4c3db00f (patch) | |
tree | 7798780c1c2fea6c721cd33b43312d8bd8ae5d42 /src/problems.c | |
parent | 6783d8e6f45c17f5401210d4441bea461a145eaf (diff) | |
download | libsolv-76fb56c0d4b829859fefa6a744c0183b4c3db00f.tar.gz libsolv-76fb56c0d4b829859fefa6a744c0183b4c3db00f.tar.bz2 libsolv-76fb56c0d4b829859fefa6a744c0183b4c3db00f.zip |
[backend] more introspection: solver_ruleliterals, solver_rule2jobidx, solver_rule2job
Diffstat (limited to 'src/problems.c')
-rw-r--r-- | src/problems.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/problems.c b/src/problems.c index 565ed9a..14e64b9 100644 --- a/src/problems.c +++ b/src/problems.c @@ -207,7 +207,7 @@ refine_suggestion(Solver *solv, Id *problem, Id sug, Queue *refined, int essenti solver_enableproblem(solv, problem[i]); if (sug < 0) - solver_reenablepolicyrules(solv, -(sug + 1)); + solver_reenablepolicyrules(solv, -sug); else if (sug >= solv->updaterules && sug < solv->updaterules_end) { /* enable feature rule */ @@ -292,7 +292,7 @@ refine_suggestion(Solver *solv, Id *problem, Id sug, Queue *refined, int essenti solver_enablerule(solv, r); /* enable corresponding feature rule */ } if (v < 0) - solver_reenablepolicyrules(solv, -(v + 1)); + solver_reenablepolicyrules(solv, -v); } else { |