]> err.no Git - yubikey-personalization/commitdiff
don't use _ext() to string function added in 0.10
authorKlas Lindfors <klas@yubico.com>
Thu, 11 Apr 2013 09:35:40 +0000 (11:35 +0200)
committerKlas Lindfors <klas@yubico.com>
Thu, 11 Apr 2013 09:35:40 +0000 (11:35 +0200)
ykpers-json.c

index 9d9c6bc68aaeb688b5598340d8e2af9ea777808c..3a3e992ee22dea013d5ec9e819a162d793f26c21 100644 (file)
@@ -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);