aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--alsa-binding/Alsa-ApiHat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/alsa-binding/Alsa-ApiHat.c b/alsa-binding/Alsa-ApiHat.c
index a5220e2..7c5f29e 100644
--- a/alsa-binding/Alsa-ApiHat.c
+++ b/alsa-binding/Alsa-ApiHat.c
@@ -32,7 +32,7 @@
STATIC void pingtest(struct afb_req request) {
json_object *query = afb_req_json(request);
- afb_req_success(request, query, NULL);
+ afb_req_success(request, json_object_get(query), NULL);
}
/*