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 f55a2d30..15759eb4 100644
--- a/src/nxt_var.c
+++ b/src/nxt_var.c
@@ -456,7 +456,7 @@ nxt_var_next_part(u_char *start, size_t length, nxt_str_t *part,
end = start + length;
- p = nxt_memchr(start, '$', length);
+ p = memchr(start, '$', length);
if (p == start) {
*is_var = 1;