[pacman-dev] [PATCH] Fix the plural bug in the unresolvable callback function
Nagy Gabor
ngaba at bibl.u-szeged.hu
Mon Mar 7 16:15:59 EST 2011
Signed-off-by: Nagy Gabor <ngaba at 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
More information about the pacman-dev
mailing list