mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-10 13:29:58 -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
|
|
@ -64,7 +64,7 @@ static int add_key_value(pa_modargs *ma, char *key, char *value, const char* con
|
|||
if (valid_keys) {
|
||||
const char*const* v;
|
||||
for (v = valid_keys; *v; v++)
|
||||
if (strcmp(*v, key) == 0)
|
||||
if (pa_streq(*v, key))
|
||||
break;
|
||||
|
||||
if (!*v) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue