From d91cf40504a3b651080204c5059d1dc9572acba7 Mon Sep 17 00:00:00 2001 From: Michael Schroeder Date: Wed, 24 Jun 2009 16:22:25 +0200 Subject: [PATCH] - oops, forgot to set the repo priorities --- examples/solv.c | 2 ++ 1 file changed, 2 insertions(+) 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) -- 2.7.4