Skip to content

Commit

Permalink
Merge pull request #36 from svogl/patch-1
Browse files Browse the repository at this point in the history
Update json.c
  • Loading branch information
paraboul committed May 29, 2013
2 parents 19495fc + 5c14021 commit 7e600ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/json.c
Original file line number Diff line number Diff line change
Expand Up @@ -844,7 +844,7 @@ json_item *init_json_parser(const char *json_string)

jc = new_JSON_parser(&config);

for (pRaw = json_string; *pRaw; pRaw++) {
for (pRaw = json_string; (unsigned char)*pRaw; pRaw++) {
if (!JSON_parser_char(jc, *pRaw)) {
free_json_item(jcx.head);
delete_JSON_parser(jc);
Expand Down

0 comments on commit 7e600ec

Please sign in to comment.