The controller did not work because of changes in the previous

changeset.
This commit is contained in:
Igor Sysoev
2017-06-06 18:53:15 +03:00
parent 5bc011afad
commit 71c906a512
2 changed files with 2 additions and 2 deletions

View File

@@ -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;
}
}