projects
/
jansson.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Implement JSON_ENSURE_ASCII encoding flag
[jansson.git]
/
src
/
load.c
diff --git
a/src/load.c
b/src/load.c
index
32d6500
..
278f35e
100644
(file)
--- a/
src/load.c
+++ b/
src/load.c
@@
-149,7
+149,7
@@
static char stream_get(stream_t *stream, json_error_t *error)
for(i = 1; i < count; i++)
stream->buffer[i] = stream->get(stream->data);
- if(!utf8_check_full(stream->buffer, count))
+ if(!utf8_check_full(stream->buffer, count
, NULL
))
goto out;
stream->stream_pos += count;