summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_var.c
diff options
context:
space:
mode:
authorZhidao HONG <z.hong@f5.com>2021-12-03 12:08:54 +0800
committerZhidao HONG <z.hong@f5.com>2021-12-03 12:08:54 +0800
commita6a884ebdbad54e2443e5281d53111c92f3ec837 (patch)
tree11104e15085bd8121edc05c23c3e8932080c4b96 /src/nxt_var.c
parent2a087fa5654954878c00edef6b07a9fe4090475f (diff)
downloadunit-a6a884ebdbad54e2443e5281d53111c92f3ec837.tar.gz
unit-a6a884ebdbad54e2443e5281d53111c92f3ec837.tar.bz2
Fixed debug message broken in 45b25ffb2e8c.
Diffstat (limited to '')
-rw-r--r--src/nxt_var.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nxt_var.c b/src/nxt_var.c
index 60650ef4..0a722d17 100644
--- a/src/nxt_var.c
+++ b/src/nxt_var.c
@@ -627,7 +627,8 @@ nxt_var_query_finish(nxt_task_t *task, nxt_var_query_t *query)
nxt_array_reset(&query->parts);
- nxt_debug(task, "var: \"%*s\" -> \"%V\"", length, src, val[i].value);
+ nxt_debug(task, "var: \"%*s\" -> \"%V\"", var->length, src,
+ val[i].value);
}
done: