summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--hcid/adapter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hcid/adapter.c b/hcid/adapter.c
index 832fb3e3..495b5b46 100644
--- a/hcid/adapter.c
+++ b/hcid/adapter.c
@@ -3344,7 +3344,7 @@ static void discover_services_cb(gpointer user_data, sdp_list_t *recs, int err)
if (!reply)
goto failed;
- dbus_message_append_args(reply, DBUS_TYPE_STRING, &path,
+ dbus_message_append_args(reply, DBUS_TYPE_OBJECT_PATH, &path,
DBUS_TYPE_INVALID);
send_message_and_unref(adapter->create->conn, reply);