mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04: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
|
|
@ -350,7 +350,7 @@ static struct object *find_device(struct manager *m, uint32_t card_id, uint32_t
|
|||
struct pw_node_info *info;
|
||||
const char *str;
|
||||
|
||||
if (strcmp(o->this.type, PW_TYPE_INTERFACE_Node) != 0)
|
||||
if (!spa_streq(o->this.type, PW_TYPE_INTERFACE_Node))
|
||||
continue;
|
||||
|
||||
if ((info = o->this.info) != NULL &&
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue