mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2025-01-03 02:02:33 +01:00
json: increase default token size to 60
This commit is contained in:
parent
e321c48211
commit
ebed84ab55
@ -33,7 +33,7 @@
|
|||||||
#include "shared/jsmn.h"
|
#include "shared/jsmn.h"
|
||||||
|
|
||||||
/* Max number of tokens supported. Increase if larger objects are expected */
|
/* 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_LEN(token) (token)->end - (token)->start
|
||||||
#define TOK_PTR(json, token) (void *)((json) + (token)->start)
|
#define TOK_PTR(json, token) (void *)((json) + (token)->start)
|
||||||
|
Loading…
Reference in New Issue
Block a user