mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-23 11:44:53 +00:00
Panel fix
This commit is contained in:
1 parent
8030f8f8b5
commit
5163d8a1c7
3 files changed
+3
-3
No files matched your search
+1
-1
@@ -112,7 +112,7 @@ static inline bool mg_parse_field(struct mg_str json, struct mg_field *f,
|
||||
} else if (f->type == MG_VAL_DBL) {
|
||||
ok = mg_json_get_num(json, "$", &val->d);
|
||||
} else if (f->type == MG_VAL_STR) {
|
||||
val->s = trimq(json);
|
||||
val->s = json;
|
||||
} else if (f->type == MG_VAL_FN) {
|
||||
val->s = json;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user