diff options
Diffstat (limited to 'hcid/dbus-database.c')
-rw-r--r-- | hcid/dbus-database.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/hcid/dbus-database.c b/hcid/dbus-database.c index 86053915..755de673 100644 --- a/hcid/dbus-database.c +++ b/hcid/dbus-database.c @@ -339,8 +339,7 @@ static DBusHandlerResult request_authorization(DBusConnection *conn, if (!service) return error_not_authorized(conn, msg); - if (g_slist_find_custom(service->trusted_devices, address, - (GCompareFunc) strcasecmp)) { + if (read_trust(address, service->ident)) { DBusMessage *reply; reply = dbus_message_new_method_return(msg); |