From f83f01b8eb9051c37dabfa1aaada8fc0f40e155e Mon Sep 17 00:00:00 2001 From: Aurelien Foret Date: Wed, 15 Feb 2006 22:00:01 +0000 Subject: fixed a typo --- src/pacman/sync.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/pacman/sync.c b/src/pacman/sync.c index a5d24695..495a2274 100644 --- a/src/pacman/sync.c +++ b/src/pacman/sync.c @@ -753,7 +753,7 @@ int pacman_sync(list_t *targets) switch(pm_errno) { case PM_ERR_FILE_CONFLICTS: for(lp = alpm_list_first(data); lp; lp = alpm_list_next(lp)) { - PM_CONFLICT *conflict = alpm_list_getdata(i); + PM_CONFLICT *conflict = alpm_list_getdata(lp); switch((int)alpm_conflict_getinfo(conflict, PM_CONFLICT_TYPE)) { case PM_CONFLICT_TYPE_TARGET: MSG(NL, "%s exists in \"%s\" (target) and \"%s\" (target)", -- cgit v1.2.3-70-g09d2