mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
treewide: replace strcmp() == 0 with spa_streq()
This change is only done in source files for now, header files will be done separately.
This commit is contained in:
parent
d8a9534a9a
commit
7697ed0757
130 changed files with 817 additions and 675 deletions
|
|
@ -44,6 +44,7 @@
|
|||
|
||||
#include <spa/pod/iter.h>
|
||||
#include <spa/utils/result.h>
|
||||
#include <spa/utils/string.h>
|
||||
|
||||
#ifdef HAVE_SYSTEMD
|
||||
#include <systemd/sd-daemon.h>
|
||||
|
|
@ -1043,7 +1044,7 @@ impl_new_client(struct pw_protocol *protocol,
|
|||
str = spa_dict_lookup(props, PW_KEY_REMOTE_INTENTION);
|
||||
if (str == NULL &&
|
||||
(str = spa_dict_lookup(props, PW_KEY_REMOTE_NAME)) != NULL &&
|
||||
strcmp(str, "internal") == 0)
|
||||
spa_streq(str, "internal"))
|
||||
str = "internal";
|
||||
}
|
||||
if (str == NULL)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue