summaryrefslogtreecommitdiffstats
path: root/ALSA-afb/Alsa-Ucm.c
diff options
context:
space:
mode:
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);