diff options
Diffstat (limited to '')
-rw-r--r-- | libnetdata/json/json.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libnetdata/json/json.c b/libnetdata/json/json.c index d5f62eda..532b677c 100644 --- a/libnetdata/json/json.c +++ b/libnetdata/json/json.c @@ -90,7 +90,7 @@ jsmntok_t *json_tokenise(char *js, size_t len, size_t *count) */ int json_callback_print(JSON_ENTRY *e) { - BUFFER *wb=buffer_create(300); + BUFFER *wb=buffer_create(300, NULL); buffer_sprintf(wb,"%s = ", e->name); char txt[50]; |