summaryrefslogtreecommitdiff
path: root/AudioManagerUtilities/src/CAmDbusWrapper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'AudioManagerUtilities/src/CAmDbusWrapper.cpp')
-rw-r--r--AudioManagerUtilities/src/CAmDbusWrapper.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/AudioManagerUtilities/src/CAmDbusWrapper.cpp b/AudioManagerUtilities/src/CAmDbusWrapper.cpp
index fa41a2e..84ac4a3 100644
--- a/AudioManagerUtilities/src/CAmDbusWrapper.cpp
+++ b/AudioManagerUtilities/src/CAmDbusWrapper.cpp
@@ -108,8 +108,8 @@ CAmDbusWrapper::CAmDbusWrapper(CAmSocketHandler* socketHandler, DBusBusType type
//register callback for Introspectio
mObjectPathVTable.message_function = CAmDbusWrapper::cbRootIntrospection;
- dbus_connection_register_object_path(mpDbusConnection, objectPath, &mObjectPathVTable, this);
- int ret = dbus_bus_request_name(mpDbusConnection, prefix, DBUS_NAME_FLAG_DO_NOT_QUEUE, &mDBusError);
+ dbus_connection_register_object_path(mpDbusConnection, objectPath.c_str(), &mObjectPathVTable, this);
+ int ret = dbus_bus_request_name(mpDbusConnection, prefix.c_str(), DBUS_NAME_FLAG_DO_NOT_QUEUE, &mDBusError);
if (DBUS_REQUEST_NAME_REPLY_PRIMARY_OWNER == ret)
{
logInfo("DBusWrapper::DBusWrapper We own", prefix);