summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_kqueue_engine.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2017-06-06 18:57:58 +0300
committerIgor Sysoev <igor@sysoev.ru>2017-06-06 18:57:58 +0300
commitd0c72e07261ac3ee57573b7f41732fab76862aee (patch)
treec59663adc63aeef81a1701dc42e70b2e27b20591 /src/nxt_kqueue_engine.c
parent49e9049ed2b00f2f3ce5bacd75dbc21932836a25 (diff)
downloadunit-d0c72e07261ac3ee57573b7f41732fab76862aee.tar.gz
unit-d0c72e07261ac3ee57573b7f41732fab76862aee.tar.bz2
C99 style declaration of connection states.
Diffstat (limited to 'src/nxt_kqueue_engine.c')
-rw-r--r--src/nxt_kqueue_engine.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_kqueue_engine.c b/src/nxt_kqueue_engine.c
index d15ce15a..c5e40eeb 100644
--- a/src/nxt_kqueue_engine.c
+++ b/src/nxt_kqueue_engine.c
@@ -902,7 +902,7 @@ nxt_kqueue_event_conn_connected(nxt_task_t *task, void *obj, void *data)
c->socket.write = NXT_EVENT_BLOCKED;
- if (c->write_state->autoreset_timer) {
+ if (c->write_state->timer_autoreset) {
nxt_timer_disable(task->thread->engine, &c->write_timer);
}