Browse Source

Minor spell check.

tags/json-c-0.12-20140410
Eric Haszlakiewicz 12 years ago
parent
commit
d032aad1f4
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      json_tokener.c

+ 1
- 1
json_tokener.c View File

@@ -612,7 +612,7 @@ struct json_object* json_tokener_parse_ex(struct json_tokener *tok,
double numd;
if (!tok->is_double && json_parse_int64(tok->pb->buf, &num64) == 0) {
if (num64 && tok->pb->buf[0]=='0' && (tok->flags & JSON_TOKENER_STRICT)) {
/* in strick mode, number must not start with 0 */
/* in strict mode, number must not start with 0 */
tok->err = json_tokener_error_parse_number;
goto out;
}


Loading…
Cancel
Save