modules: Use pa_streq instead of strcmp.

This commit is contained in:
Arti Trivedi Bora 2012-06-06 01:28:13 +05:30 committed by Tanu Kaskinen
parent e0c16af551
commit e5954aca8e
19 changed files with 45 additions and 45 deletions

View file

@ -1136,7 +1136,7 @@ static void sink_info_cb(pa_pdispatch *pd, uint32_t command, uint32_t tag, pa_t
pa_proplist_free(pl);
if (!u->sink_name || strcmp(name, u->sink_name))
if (!u->sink_name || !pa_streq(name, u->sink_name))
return;
pa_xfree(u->device_description);
@ -1347,7 +1347,7 @@ static void source_info_cb(pa_pdispatch *pd, uint32_t command, uint32_t tag, pa
pa_proplist_free(pl);
if (!u->source_name || strcmp(name, u->source_name))
if (!u->source_name || !pa_streq(name, u->source_name))
return;
pa_xfree(u->device_description);