mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
Add printf checks for proxy_error and resource_error
Add an error variant without checks.
This commit is contained in:
parent
f2b7f2dc6d
commit
e40fbf8cc4
20 changed files with 65 additions and 43 deletions
|
|
@ -1218,7 +1218,7 @@ static int client_node_command(void *object, const struct spa_command *command)
|
|||
break;
|
||||
default:
|
||||
pw_log_warn(NAME" %p: unhandled node command %d", c, SPA_COMMAND_TYPE(command));
|
||||
pw_proxy_error((struct pw_proxy*)c->node_proxy, -ENOTSUP,
|
||||
pw_proxy_errorf((struct pw_proxy*)c->node_proxy, -ENOTSUP,
|
||||
"unhandled command %d", SPA_COMMAND_TYPE(command));
|
||||
}
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue