diff --git a/src/modules/module-client-node/protocol-native.c b/src/modules/module-client-node/protocol-native.c index 304f10843..eba2160b5 100644 --- a/src/modules/module-client-node/protocol-native.c +++ b/src/modules/module-client-node/protocol-native.c @@ -1014,14 +1014,14 @@ static int client_node_demarshal_set_active(void *object, const struct pw_protoc { struct pw_resource *resource = object; struct spa_pod_parser prs; - int active; + bool active; spa_pod_parser_init(&prs, msg->data, msg->size); if (spa_pod_parser_get_struct(&prs, SPA_POD_Bool(&active)) < 0) return -EINVAL; - pw_resource_notify(resource, struct pw_client_node_methods, set_active, 0, active ? true : false); + pw_resource_notify(resource, struct pw_client_node_methods, set_active, 0, active); return 0; } diff --git a/src/modules/module-protocol-native.c b/src/modules/module-protocol-native.c index 9b78c25c8..3433a67b7 100644 --- a/src/modules/module-protocol-native.c +++ b/src/modules/module-protocol-native.c @@ -135,7 +135,7 @@ struct client_data { static void debug_msg(const char *prefix, const struct pw_protocol_native_message *msg, bool hex) { struct spa_pod *pod; - pw_log_debug("%s: id:%d op:%d size:%d seq:%d\n", prefix, + pw_log_debug("%s: id:%d op:%d size:%d seq:%d", prefix, msg->id, msg->opcode, msg->size, msg->seq); if ((pod = spa_pod_from_data(msg->data, msg->size, 0, msg->size)) != NULL) diff --git a/src/modules/module-protocol-native/connection.c b/src/modules/module-protocol-native/connection.c index 56f777e5f..b704e4b0a 100644 --- a/src/modules/module-protocol-native/connection.c +++ b/src/modules/module-protocol-native/connection.c @@ -468,7 +468,7 @@ pw_protocol_native_connection_end(struct pw_protocol_native_connection *conn, buf->n_fds = buf->msg.n_fds; if (debug_messages) { - pw_log_debug(">>>>>>>>> out: id:%d op:%d size:%d seq:%d\n", + pw_log_debug(">>>>>>>>> out: id:%d op:%d size:%d seq:%d", buf->msg.id, buf->msg.opcode, size, buf->msg.seq); spa_debug_pod(0, NULL, SPA_MEMBER(p, impl->hdr_size, struct spa_pod)); }