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:
7466741
)
- set default prio to 99
author
Michael Schroeder
<mls@suse.de>
Wed, 16 Sep 2009 10:31:52 +0000
(12:31 +0200)
committer
Michael Schroeder
<mls@suse.de>
Wed, 16 Sep 2009 10:31:52 +0000
(12:31 +0200)
examples/solv.c
patch
|
blob
|
history
diff --git
a/examples/solv.c
b/examples/solv.c
index
0c8c838
..
b4c5358
100644
(file)
--- a/
examples/solv.c
+++ b/
examples/solv.c
@@
-238,6
+238,7
@@
read_repoinfos(Pool *pool, const char *reposdir, int *nrepoinfosp)
cinfo->alias = strdup(kp + 1);
cinfo->type = TYPE_RPMMD;
cinfo->autorefresh = 1;
+ cinfo->priority = 99;
#ifndef FEDORA
cinfo->repo_gpgcheck = 1;
#endif
@@
-2268,7
+2269,7
@@
main(int argc, char **argv)
struct repoinfo *cinfo = repoinfos + i;
if (!cinfo->enabled)
continue;
- printf("%d: %-20s %s
\n", j++, cinfo->alias, cinfo->name
);
+ printf("%d: %-20s %s
(prio %d)\n", j++, cinfo->alias, cinfo->name, cinfo->priority
);
}
exit(0);
}