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 23c5782..22e263a 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);
 }