summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/nxt_conf_json.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nxt_conf_json.c b/src/nxt_conf_json.c
index 01eab55a..cf0190f4 100644
--- a/src/nxt_conf_json.c
+++ b/src/nxt_conf_json.c
@@ -533,6 +533,8 @@ nxt_conf_json_parse_string(u_char *pos, u_char *end,
} else {
value->type = NXT_CONF_JSON_SHORT_STRING;
+ value->u.str[0] = size;
+
s = &value->u.str[1];
}