Commit 3e2b8a7d authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

Set initial value of tokcount to 32.

parent 8a357043
......@@ -290,7 +290,7 @@ void parse_json_buffer_to_pml(list_t *pml, size_t buffersize, char *buffer)
jsmn_init(&p);
/* Allocate some tokens as a start */
size_t tokcount = 2;
size_t tokcount = 32;
jsmntok_t *tok = (jsmntok_t *) Malloc(sizeof(*tok) * tokcount);
int r;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment