diff options
author | Wim Taymans <wtaymans@redhat.com> | 2020-03-02 10:48:31 +0100 |
---|---|---|
committer | Wim Taymans <wtaymans@redhat.com> | 2020-03-02 10:48:31 +0100 |
commit | 77cc58ba710ef3af74bc354ab9d3aceb67c2a614 (patch) | |
tree | 6733e20b7db9bcff1007197f132de3b1c1d2e91d /src/modules | |
parent | 33102abe4d960091d7d632c71bcf2c2576bd2662 (diff) |
protocol-native: improve bool in set_active
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/module-client-node/protocol-native.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/module-client-node/protocol-native.c b/src/modules/module-client-node/protocol-native.c index 4eab88fa..304f1084 100644 --- a/src/modules/module-client-node/protocol-native.c +++ b/src/modules/module-client-node/protocol-native.c @@ -1021,7 +1021,7 @@ static int client_node_demarshal_set_active(void *object, const struct pw_protoc SPA_POD_Bool(&active)) < 0) return -EINVAL; - pw_resource_notify(resource, struct pw_client_node_methods, set_active, 0, active); + pw_resource_notify(resource, struct pw_client_node_methods, set_active, 0, active ? true : false); return 0; } |