From cdd8c32bb209064467f79fdcb11be1767dfdb563 Mon Sep 17 00:00:00 2001 From: Klaus Kaempf Date: Fri, 5 Sep 2008 16:58:01 +0000 Subject: [PATCH] remove duplicate repodata_internalize --- tools/repo_products.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tools/repo_products.c b/tools/repo_products.c index da95b2a..50fd537 100644 --- a/tools/repo_products.c +++ b/tools/repo_products.c @@ -502,7 +502,7 @@ repo_add_products(Repo *repo, Repodata *repodata, const char *proddir, const cha memset(&pd, 0, sizeof(pd)); pd.repo = repo; pd.pool = repo->pool; - pd.data = repo_add_repodata(pd.repo, 0); + pd.data = repodata; pd.content = malloc(256); pd.acontent = 256; @@ -523,9 +523,6 @@ repo_add_products(Repo *repo, Repodata *repodata, const char *proddir, const cha { parse_dir(dir, fullpath, &pd, repodata, code11); } - - if (pd.data) - repodata_internalize(pd.data); free(pd.content); join_freemem(); -- 2.7.4