dbus/on_handle_characteristic_indication: Fix logging

pull/266/head
Olivier Martin 2024-02-14 11:33:51 +01:00 committed by Olivier Martin
parent 8065d12dac
commit db8aee543b
1 changed files with 2 additions and 2 deletions

View File

@ -121,7 +121,7 @@ static gboolean on_handle_characteristic_indication(
g_variant_get (arg_changed_properties, "a{sv}", &iter);
while (g_variant_iter_loop (iter, "{&sv}", &key, &value)) {
GATTLIB_LOG(GATTLIB_DEBUG, "on_handle_indication_property_change: %s:%s",
GATTLIB_LOG(GATTLIB_DEBUG, "on_handle_characteristic_indication: %s:%s",
key, g_variant_print(value, TRUE));
if (strcmp(key, "Value") == 0) {
@ -141,7 +141,7 @@ static gboolean on_handle_characteristic_indication(
g_variant_iter_free(iter);
}
} else {
GATTLIB_LOG(GATTLIB_DEBUG, "on_handle_indication_property_change: Not a valid indication handler");
GATTLIB_LOG(GATTLIB_DEBUG, "on_handle_characteristic_indication: Not a valid indication handler");
}
return TRUE;
}