mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
treewide: replace !strcmp() 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
7697ed0757
commit
95a84e797a
28 changed files with 239 additions and 221 deletions
|
|
@ -1273,7 +1273,7 @@ SND_CTL_PLUGIN_DEFINE_FUNC(pipewire)
|
|||
if (str != NULL && str[0] != '\0')
|
||||
server = str;
|
||||
|
||||
if (fallback_name && name && !strcmp(name, fallback_name))
|
||||
if (fallback_name && name && spa_streq(name, fallback_name))
|
||||
fallback_name = NULL; /* no fallback for the same name */
|
||||
|
||||
ctl = calloc(1, sizeof(*ctl));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue