summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_var.c
diff options
context:
space:
mode:
authorZhidao HONG <z.hong@f5.com>2024-01-31 14:11:29 +0800
committerZhidao HONG <z.hong@f5.com>2024-02-20 06:09:23 +0800
commit01fd121c4e442039662889bb54ce24f21af649f0 (patch)
tree9f211758f6b40d5fc98c525588a937e4df9a74c1 /src/nxt_var.c
parent62894ae77b806e84e7e2c16950850f62825869c2 (diff)
downloadunit-01fd121c4e442039662889bb54ce24f21af649f0.tar.gz
unit-01fd121c4e442039662889bb54ce24f21af649f0.tar.bz2
Var: Refactored nxt_http_unknown_var_ref()
Diffstat (limited to 'src/nxt_var.c')
-rw-r--r--src/nxt_var.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_var.c b/src/nxt_var.c
index e45c4f14..a297b5b3 100644
--- a/src/nxt_var.c
+++ b/src/nxt_var.c
@@ -141,7 +141,7 @@ nxt_var_ref_get(nxt_tstr_state_t *state, nxt_str_t *name)
goto done;
}
- ret = nxt_http_unknown_var_ref(state, ref, name);
+ ret = nxt_http_unknown_var_ref(state->pool, ref, name);
if (nxt_slow_path(ret != NXT_OK)) {
return NULL;
}