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.
This commit is contained in:
Arun Raghavan 2011-12-14 20:48:12 +05:30
parent dc8edf4b43
commit 0bbe94f5db

View file

@ -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;
}