From c19839695b481528887eee07d1060d4acf01b064 Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Mon, 22 Jan 2007 09:27:00 +0000 Subject: Introduced an infinite loop during the pmlist -> alpm_list transition, whoops --- lib/libalpm/alpm_list.c | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/libalpm') 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); } -- cgit v1.2.3-70-g09d2