summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_router.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/nxt_router.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nxt_router.c b/src/nxt_router.c
index 7c197a44..5f654050 100644
--- a/src/nxt_router.c
+++ b/src/nxt_router.c
@@ -1386,7 +1386,8 @@ nxt_router_thread_start(void *data)
engine->mem_pool = nxt_mp_create(4096, 128, 1024, 64);
- port = nxt_port_new(nxt_port_get_next_id(), nxt_pid, NXT_PROCESS_ROUTER);
+ port = nxt_port_new(task, nxt_port_get_next_id(), nxt_pid,
+ NXT_PROCESS_ROUTER);
if (nxt_slow_path(port == NULL)) {
return;
}