From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============8858423236302109562==" MIME-Version: 1.0 From: James Prestwood To: iwd at lists.01.org Subject: [PATCH 4/8] json: increase default token size to 60 Date: Wed, 05 Jan 2022 10:46:23 -0800 Message-ID: <20220105184627.329505-4-prestwoj@gmail.com> In-Reply-To: 20220105184627.329505-1-prestwoj@gmail.com --===============8858423236302109562== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable --- src/json.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/json.c b/src/json.c index 879d43be..4e4c004e 100644 --- a/src/json.c +++ b/src/json.c @@ -33,7 +33,7 @@ #include "shared/jsmn.h" = /* Max number of tokens supported. Increase if larger objects are expected= */ -#define JSON_DEFAULT_TOKENS 30 +#define JSON_DEFAULT_TOKENS 60 = #define TOK_LEN(token) (token)->end - (token)->start #define TOK_PTR(json, token) (void *)((json) + (token)->start) -- = 2.31.1 --===============8858423236302109562==--