From aa2fe8ccbfcb117efa207d10229eeeac5d0f97c7 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 6 Feb 2023 17:11:30 +0100 Subject: Adding upstream version 1.38.0. Signed-off-by: Daniel Baumann --- libnetdata/json/README.md | 4 ++++ libnetdata/json/json.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'libnetdata/json') diff --git a/libnetdata/json/README.md b/libnetdata/json/README.md index 2e04b8b6b..e772f114d 100644 --- a/libnetdata/json/README.md +++ b/libnetdata/json/README.md @@ -1,6 +1,10 @@ # json diff --git a/libnetdata/json/json.c b/libnetdata/json/json.c index d5f62edaf..532b677ce 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]; -- cgit v1.2.3