- fix repomdxml
authorMichael Schroeder <mls@suse.de>
Thu, 9 Oct 2008 15:25:11 +0000 (15:25 +0000)
committerMichael Schroeder <mls@suse.de>
Thu, 9 Oct 2008 15:25:11 +0000 (15:25 +0000)
tools/repo_repomdxml.c

index 6f4a9b8..0f371eb 100644 (file)
@@ -355,7 +355,7 @@ repo_add_repomdxml(Repo *repo, FILE *fp, int flags)
     }
   pd.pool = pool;
   pd.repo = repo;
-  pd.data = repo_add_repodata(pd.repo, 0);
+  pd.data = data;
 
   pd.content = malloc(256);
   pd.acontent = 256;