From: Arun Raghavan Date: Wed, 14 Dec 2011 15:18:12 +0000 (+0530) Subject: protocol-native: Fix 'auth-group-enabled' modarg X-Git-Url: https://code.delx.au/pulseaudio/commitdiff_plain/0bbe94f5db9324702afe97eab6e3b1bcedb724a3 protocol-native: Fix 'auth-group-enabled' modarg This is actually implemented in module-protocol-stub as 'auth-group-enable'. An unfortunate typo because the other argument is spelt as 'enabled', but it's better to be slightly inconsistent than to change the public interface. --- diff --git a/src/pulsecore/protocol-native.c b/src/pulsecore/protocol-native.c index 841734fd..cbd5fef6 100644 --- a/src/pulsecore/protocol-native.c +++ b/src/pulsecore/protocol-native.c @@ -5145,8 +5145,8 @@ int pa_native_options_parse(pa_native_options *o, pa_core *c, pa_modargs *ma) { } enabled = TRUE; - if (pa_modargs_get_value_boolean(ma, "auth-group-enabled", &enabled) < 0) { - pa_log("auth-group-enabled= expects a boolean argument."); + if (pa_modargs_get_value_boolean(ma, "auth-group-enable", &enabled) < 0) { + pa_log("auth-group-enable= expects a boolean argument."); return -1; }