summaryrefslogtreecommitdiffstats
path: root/ALSA-afb/Alsa-Ucm.c
diff options
context:
space:
mode:
authorfulup <fulup.arfoll@iot.bzh>2017-07-03 15:38:35 +0200
committerfulup <fulup.arfoll@iot.bzh>2017-07-03 15:38:35 +0200
commit85a4c0a1e0f666505cf2a2922c12e78b3c83c062 (patch)
treea52de3541fca1f7847ab2b083034d93ac8d69205 /ALSA-afb/Alsa-Ucm.c
parent1abf42ee54f669b523bb1a6f4d57d15d78ce0255 (diff)
Moved to V2
Diffstat (limited to 'ALSA-afb/Alsa-Ucm.c')
-rw-r--r--ALSA-afb/Alsa-Ucm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ALSA-afb/Alsa-Ucm.c b/ALSA-afb/Alsa-Ucm.c
index c9ee4f9..bc492b3 100644
--- a/ALSA-afb/Alsa-Ucm.c
+++ b/ALSA-afb/Alsa-Ucm.c
@@ -310,7 +310,7 @@ PUBLIC void alsaUseCaseGet (struct afb_req request) {
if (json_object_array_length (jWarnings) > 0) {
json_object *jTmp = json_object_new_object ();
json_object_object_add (jTmp, "no-context", jWarnings);
- warnings= json_object_to_json_string (jTmp);
+ warnings= json_object_get_string (jTmp);
}
afb_req_success (request, jResponse, warnings);