]> git.ipfire.org Git - thirdparty/libsolv.git/commitdiff
- don't match the first idarray element twice
authorMichael Schroeder <mls@suse.de>
Fri, 24 Oct 2008 10:11:17 +0000 (10:11 +0000)
committerMichael Schroeder <mls@suse.de>
Fri, 24 Oct 2008 10:11:17 +0000 (10:11 +0000)
src/repodata.c

index c32f2488b3a337528cd80a9a00c280aa53109bbf..d3b9b4a0aa034b423d791de43e079cc558930088 100644 (file)
@@ -1242,7 +1242,8 @@ dataiterator_step(Dataiterator *di)
            goto di_nextsolvablekey;
          di->kv.id = di->idp[0];
          di->kv.num = di->idp[0];
-         if (!di->kv.eof && !di->idp[1])
+         di->idp++;
+         if (!di->kv.eof && !di->idp[0])
            di->kv.eof = 1;
          di->kv.entry = 0;
          if (di->kv.eof)