mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
treewide: replace !strcmp() 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
7697ed0757
commit
95a84e797a
28 changed files with 239 additions and 221 deletions
|
|
@ -1052,9 +1052,9 @@ impl_new_client(struct pw_protocol *protocol,
|
|||
|
||||
pw_log_debug(NAME" %p: connect %s", protocol, str);
|
||||
|
||||
if (!strcmp(str, "screencast"))
|
||||
if (spa_streq(str, "screencast"))
|
||||
this->connect = pw_protocol_native_connect_portal_screencast;
|
||||
else if (!strcmp(str, "internal"))
|
||||
else if (spa_streq(str, "internal"))
|
||||
this->connect = pw_protocol_native_connect_internal;
|
||||
else
|
||||
this->connect = pw_protocol_native_connect_local_socket;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue