summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_h1proto.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nxt_h1proto.c')
-rw-r--r--src/nxt_h1proto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_h1proto.c b/src/nxt_h1proto.c
index 3acba088..1e37273f 100644
--- a/src/nxt_h1proto.c
+++ b/src/nxt_h1proto.c
@@ -2609,7 +2609,7 @@ nxt_h1p_peer_header_parse(nxt_http_peer_t *peer, nxt_buf_mem_t *bm)
p += 12;
length -= 12;
- p = nxt_memchr(p, '\n', length);
+ p = memchr(p, '\n', length);
if (nxt_slow_path(p == NULL)) {
return NXT_AGAIN;