- 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 722ab73..7492b5c 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);