develop.uap-core.de/git
/
uwplayer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
45b79be
)
json: fix wrong func
author
Olaf Wintermann
<olaf.wintermann@gmail.com>
Wed, 12 Jan 2022 18:23:13 +0000
(19:23 +0100)
committer
Olaf Wintermann
<olaf.wintermann@gmail.com>
Wed, 12 Jan 2022 18:23:13 +0000
(19:23 +0100)
application/json.c
patch
|
blob
|
history
diff --git
a/application/json.c
b/application/json.c
index
5a5446e
..
ea167e5
100644
(file)
--- a/
application/json.c
+++ b/
application/json.c
@@
-615,9
+615,9
@@
int json_reader_isnull(JSONParser *p) {
JSONLiteralType json_reader_literal(JSONParser *p) {
const char *l = p->reader_token.content;
size_t token_len = p->reader_token.length;
- if(token_len == 4 && !memc
py
(l, "true", 5)) {
+ if(token_len == 4 && !memc
mp
(l, "true", 5)) {
return JSON_TRUE;
- } else if(token_len == 5 && !memc
py
(l, "false", 5)) {
+ } else if(token_len == 5 && !memc
mp
(l, "false", 5)) {
return JSON_FALSE;
}
return JSON_NULL;