diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2008-10-31 23:09:05 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2008-10-31 23:09:05 +0100 |
commit | 397ce1cede76742f5eacc5e1eddae2169b06d7bb (patch) | |
tree | 69fccfa2ef8903768a4efaf9506948e9c8253abc /src | |
parent | 795dd43cceb73cbc1e76592edfc26c093517f4e6 (diff) |
Mix the PID into the base path
Diffstat (limited to 'src')
-rw-r--r-- | src/manager.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/manager.c b/src/manager.c index c42a7c96..c43ef5b8 100644 --- a/src/manager.c +++ b/src/manager.c @@ -276,6 +276,8 @@ dbus_bool_t manager_init(DBusConnection *conn, const char *path) { connection = conn; + snprintf(base_path, sizeof(base_path), "/org/bluez/%d", getpid()); + return g_dbus_register_interface(conn, "/", MANAGER_INTERFACE, manager_methods, manager_signals, NULL, NULL, NULL); |