summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_http_route.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nxt_http_route.c')
-rw-r--r--src/nxt_http_route.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_http_route.c b/src/nxt_http_route.c
index 346629c3..0b2103cd 100644
--- a/src/nxt_http_route.c
+++ b/src/nxt_http_route.c
@@ -1294,7 +1294,7 @@ nxt_http_route_pattern_slice(nxt_array_t *slices,
}
slice = nxt_array_add(slices);
- if (nxt_slow_path(slices == NULL)) {
+ if (nxt_slow_path(slice == NULL)) {
return NXT_ERROR;
}