aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2024-10-17 12:16:40 +0200
committerToni Uhlig <matzeton@googlemail.com>2024-10-17 12:16:40 +0200
commit2c771c54b0671fe8cc7214c75cf53c630a888d89 (patch)
tree26dfd2c0e23bb25ee9564c5c9347e57585efca2c
parent071a9bcb91ac7fb30b1f3669340532b961f6db4c (diff)
parentfb1dcc71de39e6dd5c11b8bc4288ec5e618fa946 (diff)
Merge commit 'fb1dcc71de39e6dd5c11b8bc4288ec5e618fa946'1.7rc2
-rw-r--r--dependencies/jsmn/jsmn.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/dependencies/jsmn/jsmn.h b/dependencies/jsmn/jsmn.h
index 41219b7dd..8ac14c1bd 100644
--- a/dependencies/jsmn/jsmn.h
+++ b/dependencies/jsmn/jsmn.h
@@ -196,10 +196,10 @@ static int jsmn_parse_string(jsmn_parser *parser, const char *js,
jsmntok_t *token;
int start = parser->pos;
-
- parser->pos++;
-
+
/* Skip starting quote */
+ parser->pos++;
+
for (; parser->pos < len && js[parser->pos] != '\0'; parser->pos++) {
char c = js[parser->pos];