diff options
author | Igor Sysoev <igor@sysoev.ru> | 2017-06-06 18:57:58 +0300 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2017-06-06 18:57:58 +0300 |
commit | d0c72e07261ac3ee57573b7f41732fab76862aee (patch) | |
tree | c59663adc63aeef81a1701dc42e70b2e27b20591 /src/nxt_event_conn_read.c | |
parent | 49e9049ed2b00f2f3ce5bacd75dbc21932836a25 (diff) | |
download | unit-d0c72e07261ac3ee57573b7f41732fab76862aee.tar.gz unit-d0c72e07261ac3ee57573b7f41732fab76862aee.tar.bz2 |
C99 style declaration of connection states.
Diffstat (limited to 'src/nxt_event_conn_read.c')
-rw-r--r-- | src/nxt_event_conn_read.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_event_conn_read.c b/src/nxt_event_conn_read.c index d898c694..be2dfdb2 100644 --- a/src/nxt_event_conn_read.c +++ b/src/nxt_event_conn_read.c @@ -72,7 +72,7 @@ nxt_event_conn_io_read(nxt_task_t *task, void *obj, void *data) nxt_fd_event_block_read(engine, &c->socket); - if (state->autoreset_timer) { + if (state->timer_autoreset) { nxt_timer_disable(engine, &c->read_timer); } |