From: Klas Lindfors Date: Thu, 11 Apr 2013 09:35:40 +0000 (+0200) Subject: don't use _ext() to string function added in 0.10 X-Git-Tag: v1.13.0~61 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a247489ba4e34f2ea0b201eae2810eee6f97b432;p=yubikey-personalization don't use _ext() to string function added in 0.10 --- 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);