mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-11 13:30:07 -05:00
small cleanups
This commit is contained in:
parent
0f6b3a7cab
commit
6b2d77e64d
2 changed files with 9 additions and 9 deletions
|
|
@ -148,15 +148,15 @@ connection_data(struct spa_loop_utils *utils,
|
|||
continue;
|
||||
}
|
||||
if (opcode >= resource->iface->n_methods) {
|
||||
pw_log_error("protocol-native %p: invalid method %u", client->impl,
|
||||
opcode);
|
||||
pw_log_error("protocol-native %p: invalid method %u %u", client->impl,
|
||||
id, opcode);
|
||||
client_destroy(client);
|
||||
break;
|
||||
}
|
||||
demarshal = resource->iface->methods;
|
||||
if (!demarshal[opcode] || !demarshal[opcode] (resource, message, size)) {
|
||||
pw_log_error("protocol-native %p: invalid message received",
|
||||
client->impl);
|
||||
pw_log_error("protocol-native %p: invalid message received %u %u",
|
||||
client->impl, id, opcode);
|
||||
client_destroy(client);
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue