ref: refs/heads/master
commit 9a1f5f4497247afe68713fcfc4ff6d372fbbb155
Author: Michael Schroeder
Date: Wed Sep 16 12:31:52 2009 +0200
- set default prio to 99
---
examples/solv.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/examples/solv.c b/examples/solv.c
index 0c8c838..b4c5358 100644
--- 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);
}
--
To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org
For additional commands, e-mail: zypp-commit+help@opensuse.org