mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-05 13:30:02 -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
95a84e797a
commit
522f87d5ea
40 changed files with 83 additions and 79 deletions
|
|
@ -344,7 +344,7 @@ test_endpoint_global(void *object, uint32_t id,
|
|||
struct test_endpoint_data *d = object;
|
||||
const char *val;
|
||||
|
||||
if (strcmp(type, PW_TYPE_INTERFACE_Endpoint) != 0)
|
||||
if (!spa_streq(type, PW_TYPE_INTERFACE_Endpoint))
|
||||
return;
|
||||
|
||||
d->bound_proxy = pw_registry_bind(d->registry, id, type,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue