summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f32046b)
raw | patch | inline | side by side (parent: f32046b)
author | Florian Forster <octo@collectd.org> | |
Sun, 7 Aug 2016 17:12:21 +0000 (19:12 +0200) | ||
committer | Florian Forster <octo@collectd.org> | |
Sun, 7 Aug 2016 17:12:32 +0000 (19:12 +0200) |
src/utils_format_json.c | patch | blob | history |
index 63f03da3300f68b7e590bfa803da9c70d23c20ce..5b5fcdf0536170b5cae56c3230f90e7e95995dc9 100644 (file)
--- a/src/utils_format_json.c
+++ b/src/utils_format_json.c
if (g == NULL)
return -1;
# if COLLECT_DEBUG
- yajl_gen_config (g, yajl_gen_beautify);
- yajl_gen_config (g, yajl_gen_validate_utf8);
+ yajl_gen_config (g, yajl_gen_beautify, 1);
+ yajl_gen_config (g, yajl_gen_validate_utf8, 1);
# endif
#else /* !HAVE_YAJL_V2 */