diff options
author | Eduardo Rocha <eduardo.rocha@openbossa.org> | 2006-10-26 14:30:09 +0000 |
---|---|---|
committer | Eduardo Rocha <eduardo.rocha@openbossa.org> | 2006-10-26 14:30:09 +0000 |
commit | 943cc7909fccc782033a819d8a4407b4d70ae1fe (patch) | |
tree | 46e7936500e2134b6c428ced2d81603ddd019662 /hcid/dbus-service.c | |
parent | 116c1cdd908969b092a928cca4cc939296d10907 (diff) |
Minor fix
Diffstat (limited to 'hcid/dbus-service.c')
-rw-r--r-- | hcid/dbus-service.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/hcid/dbus-service.c b/hcid/dbus-service.c index e773d6c0..626062e5 100644 --- a/hcid/dbus-service.c +++ b/hcid/dbus-service.c @@ -187,7 +187,7 @@ static DBusHandlerResult get_connection_name(DBusConnection *conn, if (!reply) return DBUS_HANDLER_RESULT_NEED_MEMORY; - agent = (struct service_agent*) data; + agent = data; dbus_message_append_args(reply, DBUS_TYPE_STRING, &agent->id, @@ -207,7 +207,7 @@ static DBusHandlerResult get_name(DBusConnection *conn, if (!reply) return DBUS_HANDLER_RESULT_NEED_MEMORY; - agent = (struct service_agent*) data; + agent = data; if (agent->name) name = agent->name; @@ -230,7 +230,7 @@ static DBusHandlerResult get_description(DBusConnection *conn, if (!reply) return DBUS_HANDLER_RESULT_NEED_MEMORY; - agent = (struct service_agent*) data; + agent = data; if (agent->description) description = agent->description; @@ -326,7 +326,7 @@ static DBusHandlerResult msg_func_services(DBusConnection *conn, if (handler) return handler(conn, msg, data); - agent = (struct service_agent*) data; + agent = data; forward = dbus_message_copy(msg); dbus_message_set_destination(forward, agent->id); |