Fix wrong return type of LookupService message
authorMarcel Holtmann <marcel@holtmann.org>
Thu, 13 May 2010 16:18:51 +0000 (18:18 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 13 May 2010 16:18:51 +0000 (18:18 +0200)
src/manager.c

index 23c5782ebc0dadcd0094be43b68e59cd12ddf6ac..22e263a4d03ba1a5c4b8bf6abdbe386a7b64def2 100644 (file)
@@ -457,7 +457,7 @@ static DBusMessage *lookup_service(DBusConnection *conn,
        if (err < 0)
                return __connman_error_failed(msg, -err);
 
-       return g_dbus_create_reply(msg, DBUS_TYPE_STRING, &path,
+       return g_dbus_create_reply(msg, DBUS_TYPE_OBJECT_PATH, &path,
                                                        DBUS_TYPE_INVALID);
 }