diff options
Diffstat (limited to 'hcid/dbus-common.c')
-rw-r--r-- | hcid/dbus-common.c | 8 |
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; } |