summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_runtime.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2017-06-06 18:53:15 +0300
committerIgor Sysoev <igor@sysoev.ru>2017-06-06 18:53:15 +0300
commit71c906a512ad64450cc33d3c02a719b31888f272 (patch)
treede3fd10feec2d2a39a54c97d619e5e50078cc0fc /src/nxt_runtime.c
parent5bc011afad76fe7576ef0e0ed7ca7eb5417cf338 (diff)
downloadunit-71c906a512ad64450cc33d3c02a719b31888f272.tar.gz
unit-71c906a512ad64450cc33d3c02a719b31888f272.tar.bz2
The controller did not work because of changes in the previous
changeset.
Diffstat (limited to 'src/nxt_runtime.c')
-rw-r--r--src/nxt_runtime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_runtime.c b/src/nxt_runtime.c
index 5678f522..62b0e3b5 100644
--- a/src/nxt_runtime.c
+++ b/src/nxt_runtime.c
@@ -1392,7 +1392,7 @@ nxt_runtime_listen_sockets_enable(nxt_task_t *task, nxt_runtime_t *rt)
for (i = 0; i < n; i++) {
if (ls[i].flags == NXT_NONBLOCK) {
- if (nxt_event_conn_listen(task, &ls[i]) != NXT_OK) {
+ if (nxt_listen_event(task, &ls[i]) == NULL) {
return NXT_ERROR;
}
}