diff options
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/libalpm/alpm.c | |
parent | 0e5326a76735015eefd6882168d503cacf6ebfa9 (diff) | |
download | pacman-3d07ad9539394b1e2d56561ecf5479f03c36d64e.tar.xz |
Copy/pasta error in alpm_get_upgrades that caused a segfault
Diffstat (limited to 'lib/libalpm/alpm.c')
-rw-r--r-- | lib/libalpm/alpm.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |