diff options
| -rw-r--r-- | hcid/dbus-service.c | 4 | 
1 files changed, 1 insertions, 3 deletions
| diff --git a/hcid/dbus-service.c b/hcid/dbus-service.c index be035081..e773d6c0 100644 --- a/hcid/dbus-service.c +++ b/hcid/dbus-service.c @@ -326,9 +326,7 @@ static DBusHandlerResult msg_func_services(DBusConnection *conn,  	if (handler)  		return handler(conn, msg, data); -	/* Forward to the real service object */ -	if (!dbus_connection_get_object_path_data(conn, path, (void *) &agent)) -		return DBUS_HANDLER_RESULT_NOT_YET_HANDLED; +	agent = (struct service_agent*) data;  	forward = dbus_message_copy(msg);  	dbus_message_set_destination(forward, agent->id); | 
