]> git.ipfire.org Git - thirdparty/libsolv.git/commitdiff
- grr, why on earth do the bindings have a loadcallback?
authorMichael Schroeder <mls@suse.de>
Thu, 9 Oct 2008 13:05:57 +0000 (13:05 +0000)
committerMichael Schroeder <mls@suse.de>
Thu, 9 Oct 2008 13:05:57 +0000 (13:05 +0000)
tools/mergesolv.c

index 722ab7371b3cb9e2ef14bd12224ef9f84e16bc2a..7492b5c3728ab31721d6af81de064e2e79ad5bb5 100644 (file)
@@ -37,7 +37,7 @@ static FILE *
 loadcallback (Pool *pool, Repodata *data, void *vdata)
 {
   FILE *fp = 0;
-  const char *location = repodata_lookup_str(data, 0, REPOSITORY_LOCATION);
+  const char *location = repodata_lookup_str(data, REPOENTRY_META, REPOSITORY_LOCATION);
   if (location)
     {
       fprintf(stderr, "Loading SOLV file %s\n", location);