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:
Peter Hutterer 2021-05-18 11:43:49 +10:00
parent 95a84e797a
commit 522f87d5ea
40 changed files with 83 additions and 79 deletions

View file

@ -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,