mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-08 13:29:59 -05:00
pulsecore: Use pa_streq instead of strcmp.
This commit is contained in:
parent
e5954aca8e
commit
96a52257a9
8 changed files with 27 additions and 22 deletions
|
|
@ -74,7 +74,7 @@ pa_strlist* pa_strlist_remove(pa_strlist *l, const char *s) {
|
|||
pa_assert(s);
|
||||
|
||||
while (l) {
|
||||
if (!strcmp(ITEM_TO_TEXT(l), s)) {
|
||||
if (pa_streq(ITEM_TO_TEXT(l), s)) {
|
||||
pa_strlist *n = l->next;
|
||||
|
||||
if (!prev) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue