From fef63d77b4eed2562e94735399716cb99d8b22cc Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Fri, 3 Oct 2008 18:04:53 -0300 Subject: Fix loading module-bluetooth-device with an invalid parameter. --- src/modules/bluetooth/module-bluetooth-discover.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/modules/bluetooth/module-bluetooth-discover.c b/src/modules/bluetooth/module-bluetooth-discover.c index dbbcb138..03abf26d 100644 --- a/src/modules/bluetooth/module-bluetooth-discover.c +++ b/src/modules/bluetooth/module-bluetooth-discover.c @@ -332,7 +332,7 @@ static void load_module_for_device(struct userdata *u, struct device *d, const c pa_assert(d); get_device_properties(u, d); - args = pa_sprintf_malloc("sink_name=%s address=%s profile=%s", d->name, d->address, profile); + args = pa_sprintf_malloc("sink_name=\"%s\" address=\"%s\" profile=\"%s\"", d->name, d->address, profile); pa_m = pa_module_load(u->module->core, "module-bluetooth-device", args); pa_xfree(args); -- cgit