From a247489ba4e34f2ea0b201eae2810eee6f97b432 Mon Sep 17 00:00:00 2001 From: Klas Lindfors Date: Thu, 11 Apr 2013 11:35:40 +0200 Subject: [PATCH] don't use _ext() to string function added in 0.10 --- ykpers-json.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ykpers-json.c b/ykpers-json.c index 9d9c6bc..3a3e992 100644 --- a/ykpers-json.c +++ b/ykpers-json.c @@ -174,7 +174,7 @@ int ykp_json_export_cfg(const YKP_CONFIG *cfg, char *json, size_t len) { } - strncpy(json, json_object_to_json_string_ext(jobj, JSON_C_TO_STRING_PRETTY), len); + strncpy(json, json_object_to_json_string(jobj), len); /* free the root object, will free all children */ json_object_put(jobj); -- 2.39.5