]> git.ipfire.org Git - thirdparty/libsolv.git/commitdiff
Fix typo in last commit
authorMichael Schroeder <mls@suse.de>
Thu, 10 Dec 2015 16:26:24 +0000 (17:26 +0100)
committerMichael Schroeder <mls@suse.de>
Thu, 10 Dec 2015 16:26:24 +0000 (17:26 +0100)
Hmm, I wonder why it worked with my tests...

src/repodata.c

index bff5a87d142953b4d8040216265a84838738bb24..c005b7a8a5ebf39acc4edc53d8f477631bfa40f7 100644 (file)
@@ -3443,7 +3443,7 @@ fprintf(stderr, "schemadata %p\n", data->schemadata);
          if (seen[keyid] == -1)
            {
              if (oldincoreoffs[keyid * 2 + 1])
-               data_addblob(&newincore, data->incoredata + oldincoreoffs[keyid], oldincoreoffs[keyid * 2 + 1]);
+               data_addblob(&newincore, data->incoredata + oldincoreoffs[keyid * 2], oldincoreoffs[keyid * 2 + 1]);
            }
          else if (seen[keyid])
            repodata_serialize_key(data, &newincore, &newvincore, schema, data->keys + keyid, seen[keyid] - 1);