pulsecore: Use pa_streq instead of strcmp.

This commit is contained in:
Arti Trivedi Bora 2012-06-06 01:28:14 +05:30 committed by Tanu Kaskinen
parent e5954aca8e
commit 96a52257a9
8 changed files with 27 additions and 22 deletions

View file

@ -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) {