mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
pulse-server: fix brace in wrong place
This commit is contained in:
parent
6990e93827
commit
7b9792ffab
1 changed files with 1 additions and 1 deletions
|
|
@ -4543,7 +4543,7 @@ static int do_get_info(struct client *client, uint32_t command, uint32_t tag, st
|
||||||
|
|
||||||
if (command == COMMAND_GET_SINK_INFO || command == COMMAND_GET_SOURCE_INFO) {
|
if (command == COMMAND_GET_SINK_INFO || command == COMMAND_GET_SOURCE_INFO) {
|
||||||
if ((sel.value == NULL && (sel.id == SPA_ID_INVALID || sel.id == 0)) ||
|
if ((sel.value == NULL && (sel.id == SPA_ID_INVALID || sel.id == 0)) ||
|
||||||
(sel.value != NULL && (strcmp(sel.value, def) == 0 || strcmp(sel.value, "0")) == 0))
|
(sel.value != NULL && (strcmp(sel.value, def) == 0 || strcmp(sel.value, "0") == 0)))
|
||||||
sel.value = get_default(client, command == COMMAND_GET_SINK_INFO);
|
sel.value = get_default(client, command == COMMAND_GET_SINK_INFO);
|
||||||
} else {
|
} else {
|
||||||
if (sel.value == NULL && sel.id == SPA_ID_INVALID)
|
if (sel.value == NULL && sel.id == SPA_ID_INVALID)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue