git://project.juiblex.co.uk
/
razor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
d52745a
)
Compare the right index against pq->count.
author
Kristian Høgsberg
<krh@redhat.com>
Mon, 23 Jun 2008 18:43:08 +0000 (14:43 -0400)
committer
Kristian Høgsberg
<krh@redhat.com>
Mon, 23 Jun 2008 18:43:08 +0000 (14:43 -0400)
Fix a little logic error there.
librazor/iterator.c
patch
|
blob
|
history
diff --git
a/librazor/iterator.c
b/librazor/iterator.c
index
addbe68
..
60adebe
100644
(file)
--- a/
librazor/iterator.c
+++ b/
librazor/iterator.c
@@
-248,7
+248,7
@@
razor_package_query_finish(struct razor_package_query *pq)
else
index = NULL;
- for (i = 0, j = 0; i < pq->count; i++) {
+ for (i = 0, j = 0; j < pq->count; i++) {
if (!pq->vector[i])
continue;