[pacman-dev] CVS update of pacman-lib/lib/libalpm (alpm.c)
Date: Wednesday, February 7, 2007 @ 01:19:40 Author: aaron Path: /home/cvs-pacman/pacman-lib/lib/libalpm Modified: alpm.c (1.111 -> 1.112) Copy/pasta error in alpm_get_upgrades that caused a segfault --------+ alpm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: pacman-lib/lib/libalpm/alpm.c diff -u pacman-lib/lib/libalpm/alpm.c:1.111 pacman-lib/lib/libalpm/alpm.c:1.112 --- pacman-lib/lib/libalpm/alpm.c:1.111 Sun Feb 4 03:26:52 2007 +++ pacman-lib/lib/libalpm/alpm.c Wed Feb 7 01:19:40 2007 @@ -1202,7 +1202,7 @@ 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; }
participants (1)
-
Aaron Griffin