summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_var.c
diff options
context:
space:
mode:
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 2600371b..2328d4ec 100644
--- a/src/nxt_var.c
+++ b/src/nxt_var.c
@@ -566,7 +566,7 @@ nxt_var_interpreter(nxt_task_t *task, nxt_tstr_state_t *state,
}
if (last != var->length) {
- p = nxt_cpymem(p, &src[last], var->length - last);
+ nxt_cpymem(p, &src[last], var->length - last);
}
return NXT_OK;