diff options
author | Michael Schroeder <mls@suse.de> | 2009-06-24 16:16:29 +0200 |
---|---|---|
committer | Michael Schroeder <mls@suse.de> | 2009-06-24 16:16:29 +0200 |
commit | e10a98eb7ff8b877c291309b34db2d798105aec4 (patch) | |
tree | c4bf71398635f52ffac77545bdea5ad161d37054 /src/problems.c | |
parent | 3d2aeebae3926a84a1edb43fa55d1e3e4d8d8526 (diff) | |
download | libsolv-e10a98eb7ff8b877c291309b34db2d798105aec4.tar.gz libsolv-e10a98eb7ff8b877c291309b34db2d798105aec4.tar.bz2 libsolv-e10a98eb7ff8b877c291309b34db2d798105aec4.zip |
- fix bug in take_solution
- add buddy callback support
Diffstat (limited to 'src/problems.c')
-rw-r--r-- | src/problems.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/problems.c b/src/problems.c index ccdb54c..d90dfb7 100644 --- a/src/problems.c +++ b/src/problems.c @@ -707,7 +707,7 @@ solver_take_solutionelement(Solver *solv, Id p, Id rp, Queue *job) p = SOLVER_ERASE|SOLVER_SOLVABLE; } for (i = 0; i < job->count; i += 2) - if (job->elements[i] == p && job->elements[i + 2] == rp) + if (job->elements[i] == p && job->elements[i + 1] == rp) return; queue_push2(job, p, rp); } |