index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Aaron Griffin <aaron@archlinux.org> | 2007-02-07 06:19:40 +0000 |
---|---|---|
committer | Aaron Griffin <aaron@archlinux.org> | 2007-02-07 06:19:40 +0000 |
commit | 3d07ad9539394b1e2d56561ecf5479f03c36d64e (patch) | |
tree | 5dda80fd2ae8980702785534c936779182d1f045 /lib | |
parent | 0e5326a76735015eefd6882168d503cacf6ebfa9 (diff) |
-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; } |