mirror of
https://github.com/moparisthebest/pacman
synced 2024-12-22 15:58:50 -05:00
Copy/pasta error in alpm_get_upgrades that caused a segfault
This commit is contained in:
parent
0e5326a767
commit
3d07ad9539
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user