summaryrefslogtreecommitdiffstats
path: root/hcid/dbus-common.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2006-03-10 22:32:25 +0000
committerMarcel Holtmann <marcel@holtmann.org>2006-03-10 22:32:25 +0000
commit09c0fe125f5a82f7aefa2f3ac897d182447d98e5 (patch)
tree9d74a416a658e5067476325f394dc18f9cf8e823 /hcid/dbus-common.c
parent3d6e472092edf85ddad286ec176da4f48b75f508 (diff)
Try unbreak to break everything
Diffstat (limited to 'hcid/dbus-common.c')
-rw-r--r--hcid/dbus-common.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/hcid/dbus-common.c b/hcid/dbus-common.c
index 41a9ce3e..360501e0 100644
--- a/hcid/dbus-common.c
+++ b/hcid/dbus-common.c
@@ -282,15 +282,15 @@ int name_listener_remove(DBusConnection *connection, const char *name,
return 0;
}
-service_hanbdler_func_t *find_service_handler(const service_data *handlers, DBusMessage *msg)
+service_handler_func_t find_service_handler(struct service_data *handlers, DBusMessage *msg)
{
struct service_data *current;
- const char *name, *sig;
+ const char *name;
- member = dbus_message_get_member(msg);
+ name = dbus_message_get_member(msg);
for (current = handlers; current->name != NULL; current++) {
- if (!strcmp(current->name, member))
+ if (!strcmp(current->name, name))
return current->handler_func;
}