]> code.delx.au - pulseaudio/commitdiff
protocol-native: Fix 'auth-group-enabled' modarg
authorArun Raghavan <arun.raghavan@collabora.co.uk>
Wed, 14 Dec 2011 15:18:12 +0000 (20:48 +0530)
committerArun Raghavan <arun.raghavan@collabora.co.uk>
Wed, 14 Dec 2011 16:21:50 +0000 (21:51 +0530)
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.

src/pulsecore/protocol-native.c

index 841734fd4a68d699cd49a4b3e667df6bd67c45ee..cbd5fef65c2f2298c3998f2e5fc5007a4cccb735 100644 (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;
     }