Introduced an infinite loop during the pmlist -> alpm_list transition, whoops
This commit is contained in:
parent
e1bad6ef84
commit
c19839695b
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue