projects
/
platform
/
upstream
/
libsolv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f85c71
)
- initialize kv.eof in the fix/flexarray case
author
Michael Schroeder
<mls@suse.de>
Sat, 11 Oct 2008 15:02:32 +0000
(15:02 +0000)
committer
Michael Schroeder
<mls@suse.de>
Sat, 11 Oct 2008 15:02:32 +0000
(15:02 +0000)
src/repodata.c
patch
|
blob
|
history
diff --git
a/src/repodata.c
b/src/repodata.c
index 7b14a76cbae816d2162e750ff7cf8bca73a8d71c..f269fd78dfb953f18f28d592f872545420f70529 100644
(file)
--- a/
src/repodata.c
+++ b/
src/repodata.c
@@
-687,6
+687,7
@@
repodata_search(Repodata *data, Id entry, Id keyname, int (*callback)(void *cbda
ddp = data_read_id(ddp, &nentries);
kv.num = nentries;
kv.entry = 0;
+ kv.eof = 0;
while (ddp && nentries > 0)
{
if (key->type == REPOKEY_TYPE_FLEXARRAY || !kv.entry)