--- health/hdp.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/health/hdp.c b/health/hdp.c index 1d626d7..cd344d0 100644 --- a/health/hdp.c +++ b/health/hdp.c @@ -266,7 +266,7 @@ static void fill_up_health_instances(DBusMessageIter *dict, gpointer data) } } -static void sink_health_instances(sdp_list_t *recs, int err, gpointer user_data) +static void health_records_found(sdp_list_t *recs, int err, gpointer user_data) { struct instances_aux *cb_data = user_data; DBusMessage *msg = cb_data->msg; @@ -314,7 +314,7 @@ static DBusMessage *get_health_instances(DBusConnection *conn, bt_string2uuid(&uuid, HDP_UUID); - if (bt_search_service(&src, &dst, &uuid, sink_health_instances, + if (bt_search_service(&src, &dst, &uuid, health_records_found, cb_data, NULL) == 0) return NULL; -- 1.6.3.3 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html