summaryrefslogtreecommitdiffstats
path: root/hcid/dbus-service.c
diff options
context:
space:
mode:
authorEduardo Rocha <eduardo.rocha@openbossa.org>2006-10-26 13:27:27 +0000
committerEduardo Rocha <eduardo.rocha@openbossa.org>2006-10-26 13:27:27 +0000
commit148cf3ccb516f70cafcb3d72946ea141c2b7d86e (patch)
treef2fa91caeebbb0189884988b6331e90f67c7a61b /hcid/dbus-service.c
parentc68ca971b1158a0f4783fb87663b25c464bbaf45 (diff)
Minor bug fix
Diffstat (limited to 'hcid/dbus-service.c')
-rw-r--r--hcid/dbus-service.c4
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);