diff options
author | Aaron Griffin <aaron@archlinux.org> | 2007-01-22 09:27:00 +0000 |
---|---|---|
committer | Aaron Griffin <aaron@archlinux.org> | 2007-01-22 09:27:00 +0000 |
commit | c19839695b481528887eee07d1060d4acf01b064 (patch) | |
tree | a3395340fb4f6d276b99e5b427ccaa9d48d8996b /lib | |
parent | e1bad6ef8418925e974468d371a502caf1c7ddd5 (diff) | |
download | pacman-c19839695b481528887eee07d1060d4acf01b064.tar.xz |
Introduced an infinite loop during the pmlist -> alpm_list transition, whoops
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libalpm/alpm_list.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libalpm/alpm_list.c b/lib/libalpm/alpm_list.c index beccc39c..a43f8211 100644 --- a/lib/libalpm/alpm_list.c +++ b/lib/libalpm/alpm_list.c @@ -420,6 +420,7 @@ int alpm_list_is_strin(const char *needle, alpm_list_t *haystack) if(lp->data && strcmp((const char *)lp->data, needle) == 0) { return(1); } + lp = lp->next; } return(0); } |