mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-21 08:56:56 -05:00
pulse-server: parse bool using pulseaudio rules
This commit is contained in:
parent
1fad806b8d
commit
6ad59e0117
1 changed files with 1 additions and 1 deletions
|
|
@ -116,7 +116,7 @@ struct module *create_module_native_protocol_tcp(struct impl *impl, const char *
|
||||||
fprintf(f, "[ { ");
|
fprintf(f, "[ { ");
|
||||||
fprintf(f, " \"address\": \"tcp:%s%s%s\" ",
|
fprintf(f, " \"address\": \"tcp:%s%s%s\" ",
|
||||||
listen ? listen : "", listen ? ":" : "", port);
|
listen ? listen : "", listen ? ":" : "", port);
|
||||||
if (auth && pw_properties_parse_bool(auth))
|
if (auth && module_args_parse_bool(auth))
|
||||||
fprintf(f, " \"client.access\": \"unrestricted\" ");
|
fprintf(f, " \"client.access\": \"unrestricted\" ");
|
||||||
fprintf(f, "} ]");
|
fprintf(f, "} ]");
|
||||||
fclose(f);
|
fclose(f);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue