diff options
Diffstat (limited to '')
-rw-r--r-- | src/nxt_conf_validation.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_conf_validation.c b/src/nxt_conf_validation.c index 4fb4720f..f21507d4 100644 --- a/src/nxt_conf_validation.c +++ b/src/nxt_conf_validation.c @@ -311,7 +311,7 @@ nxt_conf_vldt_type(nxt_conf_validation_t *vldt, nxt_str_t *name, nxt_str_t expected; nxt_bool_t serial; nxt_uint_t value_type, n, t; - u_char buf[sizeof(NXT_CONF_VLDT_ANY_TYPE) - 1]; + u_char buf[nxt_length(NXT_CONF_VLDT_ANY_TYPE)]; static nxt_str_t type_name[] = { nxt_string("a null"), |