index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | lib/libalpm/alpm.c | 2 |
diff --git a/lib/libalpm/alpm.c b/lib/libalpm/alpm.c index 62d46e6a..6465b12b 100644 --- a/lib/libalpm/alpm.c +++ b/lib/libalpm/alpm.c @@ -1202,7 +1202,7 @@ alpm_list_t *alpm_get_upgrades() pmsyncpkg_t *sync = NULL; found = 0; for(s = syncpkgs; s && !found; s = s->next) { - sync = i->data; + sync = s->data; if(sync && strcmp(sync->pkg->name, local->name) == 0) { found = 1; } |