mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-06 13:30:01 -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
|
|
@ -73,7 +73,7 @@ static void object_update(void *data)
|
|||
|
||||
if (client->obj->info == NULL || client->obj->info->props == NULL ||
|
||||
(str = spa_dict_lookup(client->obj->info->props, PW_KEY_ACCESS)) == NULL ||
|
||||
strcmp(str, "flatpak") != 0)
|
||||
!spa_streq(str, "flatpak"))
|
||||
return;
|
||||
|
||||
if ((str = spa_dict_lookup(client->obj->info->props, PW_KEY_MEDIA_CATEGORY)) != NULL &&
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue