Wireless Daemon for Linux
 help / color / mirror / Atom feed
* [PATCH v2 5/9] json: increase default token size to 60
@ 2022-01-06 19:50 James Prestwood
  0 siblings, 0 replies; 2+ messages in thread
From: James Prestwood @ 2022-01-06 19:50 UTC (permalink / raw)
  To: iwd 

[-- Attachment #1: Type: text/plain, Size: 513 bytes --]

---
 src/json.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/json.c b/src/json.c
index cf233e56..aec5fe5c 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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH v2 5/9] json: increase default token size to 60
@ 2022-01-06 20:26 Denis Kenzior
  0 siblings, 0 replies; 2+ messages in thread
From: Denis Kenzior @ 2022-01-06 20:26 UTC (permalink / raw)
  To: iwd 

[-- Attachment #1: Type: text/plain, Size: 179 bytes --]

Hi James,

On 1/6/22 13:50, James Prestwood wrote:
> ---
>   src/json.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 

Applied, thanks.

Regards,
-Denis

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-01-06 20:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-06 19:50 [PATCH v2 5/9] json: increase default token size to 60 James Prestwood
  -- strict thread matches above, loose matches on Subject: below --
2022-01-06 20:26 Denis Kenzior

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox