Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/pacman/sync.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pacman/sync.c b/src/pacman/sync.c
index 6e8ba5c8..fbe006ff 100644
--- a/src/pacman/sync.c
+++ b/src/pacman/sync.c
@@ -230,7 +230,7 @@ static int sync_search(list_t *syncs, list_t *targets)
return(0);
}
-static int sync_group(list_t *syncs, list_t *targets)
+static int sync_group(int level, list_t *syncs, list_t *targets)
{
list_t *i, *j;
@@ -255,7 +255,7 @@ static int sync_group(list_t *syncs, list_t *targets)
PM_GRP *grp = alpm_list_getdata(lp);
MSG(NL, "%s/%s\n", sync->treename, (char *)alpm_grp_getinfo(grp, PM_GRP_NAME));
- if(config->group > 1) {
+ if(level > 1) {
PM_LIST_display(" ", alpm_grp_getinfo(grp, PM_GRP_PKGNAMES));
}
}
@@ -399,7 +399,7 @@ int pacman_sync(list_t *targets)
}
if(config->group) {
- return(sync_group(pmc_syncs, targets));
+ return(sync_group(config->group, pmc_syncs, targets));
}
if(config->op_s_info) {