projects
/
platform
/
upstream
/
libsolv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e10a98e
)
- oops, forgot to set the repo priorities
author
Michael Schroeder
<mls@suse.de>
Wed, 24 Jun 2009 14:22:25 +0000
(16:22 +0200)
committer
Michael Schroeder
<mls@suse.de>
Wed, 24 Jun 2009 14:22:25 +0000
(16:22 +0200)
examples/solv.c
patch
|
blob
|
history
diff --git
a/examples/solv.c
b/examples/solv.c
index
3b3c19b
..
35a8637
100644
(file)
--- 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)