summaryrefslogtreecommitdiff
path: root/jsmn.c
diff options
context:
space:
mode:
Diffstat (limited to 'jsmn.c')
-rw-r--r--jsmn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/jsmn.c b/jsmn.c
index 85982569f..8b87b97d6 100644
--- a/jsmn.c
+++ b/jsmn.c
@@ -79,7 +79,7 @@ static int jsmn_parse_string(jsmn_parser *parser) {
/* Quote: end of string */
if (c == '\"') {
token = jsmn_get_token(parser);
- jsmn_fill_token(token, JSON_PRIMITIVE, start, parser->pos);
+ jsmn_fill_token(token, JSON_PRIMITIVE, start+1, parser->pos);
return JSMN_SUCCESS;
}