[pacman-dev] [PATCH] Fix the plural bug in the unresolvable callback function
7 Mar
2011
7 Mar
'11
4:15 p.m.
Signed-off-by: Nagy Gabor <ngaba@bibl.u-szeged.hu> --- src/pacman/callback.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/pacman/callback.c b/src/pacman/callback.c index a80172b..8a1c947 100644 --- a/src/pacman/callback.c +++ b/src/pacman/callback.c @@ -285,7 +285,7 @@ void cb_trans_conv(pmtransconv_t event, void *data1, void *data2, { alpm_list_t *unresolved = (alpm_list_t *) data1; alpm_list_t *namelist = NULL, *i; - size_t count = alpm_list_count(namelist); + size_t count = alpm_list_count(unresolved); for (i = unresolved; i; i = i->next) { namelist = alpm_list_add(namelist, (char *)alpm_pkg_get_name(i->data)); -- 1.7.4.1
4996
Age (days ago)
4996
Last active (days ago)
0 comments
1 participants
participants (1)
-
Nagy Gabor