mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-06 13:30:01 -05:00
treewide: replace plain strcmp() calls with spa_streq
This commit is contained in:
parent
522f87d5ea
commit
92514d57e4
7 changed files with 17 additions and 13 deletions
|
|
@ -1968,7 +1968,7 @@ children_of(struct remote_data *rd, uint32_t parent_id,
|
|||
|
||||
global = item->data;
|
||||
|
||||
if (strcmp(global->type, child_type))
|
||||
if (!spa_streq(global->type, child_type))
|
||||
continue;
|
||||
|
||||
pd = pw_proxy_get_user_data(global->proxy);
|
||||
|
|
@ -1983,7 +1983,7 @@ children_of(struct remote_data *rd, uint32_t parent_id,
|
|||
}
|
||||
|
||||
/* match? */
|
||||
if (strcmp(parent_value, child_value))
|
||||
if (!spa_streq(parent_value, child_value))
|
||||
continue;
|
||||
|
||||
if (*children)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue