Introduced an infinite loop during the pmlist -> alpm_list transition, whoops

This commit is contained in:
Aaron Griffin 2007-01-22 09:27:00 +00:00
parent e1bad6ef84
commit c19839695b

View file

@ -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);
}