summaryrefslogtreecommitdiff
path: root/strings/json_lib.c
diff options
context:
space:
mode:
Diffstat (limited to 'strings/json_lib.c')
-rw-r--r--strings/json_lib.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/strings/json_lib.c b/strings/json_lib.c
index 77b41dceb20..e09082470e8 100644
--- a/strings/json_lib.c
+++ b/strings/json_lib.c
@@ -825,6 +825,8 @@ static int skip_colon(json_engine_t *j)
static int skip_key(json_engine_t *j)
{
int t_next, c_len;
+
+ j->s.c_str-= j->sav_c_len;
while (json_read_keyname_chr(j) == 0) {}
if (j->s.error)