summaryrefslogtreecommitdiff
path: root/lib/libalpm
diff options
context:
space:
mode:
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);
}