mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-11 13:30:02 -05:00
modules: Use pa_streq instead of strcmp.
This commit is contained in:
parent
e0c16af551
commit
e5954aca8e
19 changed files with 45 additions and 45 deletions
|
|
@ -166,7 +166,7 @@ static void resolver_cb(
|
|||
pa_assert_se(avahi_string_list_get_pair(l, &key, &value, NULL) == 0);
|
||||
|
||||
pa_log_debug("Found key: '%s' with value: '%s'", key, value);
|
||||
if (strcmp(key, "device") == 0) {
|
||||
if (pa_streq(key, "device")) {
|
||||
pa_xfree(device);
|
||||
device = value;
|
||||
value = NULL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue