summaryrefslogtreecommitdiffstats
path: root/src/modules/bluetooth/module-bluetooth-discover.c
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2008-10-03 18:04:53 -0300
committerLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2008-10-03 18:07:07 -0300
commitfef63d77b4eed2562e94735399716cb99d8b22cc (patch)
tree4d377b8b6028776e94e52174e91690103cc50adb /src/modules/bluetooth/module-bluetooth-discover.c
parent0c998b089111ef1f1d9cc73dc0b05e22d049b4c7 (diff)
Fix loading module-bluetooth-device with an invalid parameter.
Diffstat (limited to 'src/modules/bluetooth/module-bluetooth-discover.c')
-rw-r--r--src/modules/bluetooth/module-bluetooth-discover.c2
1 files changed, 1 insertions, 1 deletions
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);