From 7d6fc0f54451b8cc3386561b94bb5e21a6077e22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Barnab=C3=A1s=20P=C5=91cze?= Date: Tue, 11 Jul 2023 16:04:53 +0200 Subject: [PATCH] pulse-server: fix remove proplist command `command` is never equal to `COMMAND_UPDATE_CLIENT_PROPLIST`, instead, the check should be against `COMMAND_REMOVE_CLIENT_PROPLIST`. --- src/modules/module-protocol-pulse/pulse-server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/module-protocol-pulse/pulse-server.c b/src/modules/module-protocol-pulse/pulse-server.c index eaa3450ae..e4418312a 100644 --- a/src/modules/module-protocol-pulse/pulse-server.c +++ b/src/modules/module-protocol-pulse/pulse-server.c @@ -3250,7 +3250,7 @@ static int do_remove_proplist(struct client *client, uint32_t command, uint32_t items[i].value = NULL; } - if (command != COMMAND_UPDATE_CLIENT_PROPLIST) { + if (command != COMMAND_REMOVE_CLIENT_PROPLIST) { struct stream *stream = pw_map_lookup(&client->streams, channel); if (stream == NULL || stream->type == STREAM_TYPE_UPLOAD) return -ENOENT;