projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge remote-tracking branch 'github/pr/1952'
[collectd.git]
/
src
/
utils_format_json.c
diff --git
a/src/utils_format_json.c
b/src/utils_format_json.c
index
63f03da
..
5b5fcdf
100644
(file)
--- a/
src/utils_format_json.c
+++ b/
src/utils_format_json.c
@@
-676,8
+676,8
@@
int format_json_notification (char *buffer, size_t buffer_size, /* {{{ */
if (g == NULL)
return -1;
# if COLLECT_DEBUG
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 */
# endif
#else /* !HAVE_YAJL_V2 */