diff options
Diffstat (limited to 'lib')
-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; } |