From: Michael Schroeder Date: Wed, 24 Jun 2009 14:22:25 +0000 (+0200) Subject: - oops, forgot to set the repo priorities X-Git-Tag: BASE-SuSE-Code-12_1-Branch~209 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d91cf40504a3b651080204c5059d1dc9572acba7;p=platform%2Fupstream%2Flibsolv.git - oops, forgot to set the repo priorities --- diff --git a/examples/solv.c b/examples/solv.c index 3b3c19b..35a8637 100644 --- a/examples/solv.c +++ b/examples/solv.c @@ -306,6 +306,7 @@ read_repos(Pool *pool, struct repoinfo *repoinfos, int nrepoinfos) repo = repo_create(pool, cinfo->alias); cinfo->repo = repo; repo->appdata = cinfo; + repo->priority = 99 - cinfo->priority; repo_add_repomdxml(repo, fp, 0); fclose(fp); primaryfile = 0; @@ -329,6 +330,7 @@ read_repos(Pool *pool, struct repoinfo *repoinfos, int nrepoinfos) repo = repo_create(pool, cinfo->alias); cinfo->repo = repo; repo->appdata = cinfo; + repo->priority = 99 - cinfo->priority; descrdir = 0; defvendor = 0; if ((fp = curlfopen(cinfo->baseurl, "content", 0)) != 0)