forked from lda/telodendria
Fix bug in JsonEncodeString() where characters get printed to stdout.
Thanks @costava:matrix.org for pointing this one out.
This commit is contained in:
parent
c607ba05a9
commit
485941e8a8
1 changed files with 1 additions and 1 deletions
|
@ -372,7 +372,7 @@ JsonEncodeString(const char *str, FILE * out)
|
|||
*/
|
||||
if (c <= 0x001F)
|
||||
{
|
||||
printf("\\u%04x", c);
|
||||
fprintf(out, "\\u%04x", c);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue