summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_controller.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/nxt_controller.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_controller.c b/src/nxt_controller.c
index 299242d7..93d0c2c5 100644
--- a/src/nxt_controller.c
+++ b/src/nxt_controller.c
@@ -98,7 +98,7 @@ nxt_controller_start(nxt_task_t *task, nxt_runtime_t *rt)
nxt_controller_request_fields_hash = hash;
- if (nxt_event_conn_listen(task, rt->controller_socket) != NXT_OK) {
+ if (nxt_listen_event(task, rt->controller_socket) == NULL) {
return NXT_ERROR;
}