Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm
diff options
context:
space:
mode:
authorAaron Griffin <aaron@archlinux.org>2007-01-22 09:27:00 +0000
committerAaron Griffin <aaron@archlinux.org>2007-01-22 09:27:00 +0000
commitc19839695b481528887eee07d1060d4acf01b064 (patch)
treea3395340fb4f6d276b99e5b427ccaa9d48d8996b /lib/libalpm
parente1bad6ef8418925e974468d371a502caf1c7ddd5 (diff)
Introduced an infinite loop during the pmlist -> alpm_list transition, whoops
Diffstat (limited to 'lib/libalpm')
-rw-r--r--lib/libalpm/alpm_list.c1
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);
}