pulse-server: parse bool using pulseaudio rules

This commit is contained in:
Wim Taymans 2022-05-11 17:06:33 +02:00
parent 1fad806b8d
commit 6ad59e0117

View file

@ -116,7 +116,7 @@ struct module *create_module_native_protocol_tcp(struct impl *impl, const char *
fprintf(f, "[ { ");
fprintf(f, " \"address\": \"tcp:%s%s%s\" ",
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, "} ]");
fclose(f);