diff options
author | Igor Sysoev <igor@sysoev.ru> | 2017-06-14 15:18:52 +0300 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2017-06-14 15:18:52 +0300 |
commit | 7574c64992b98d3dfbc3dd101bd0f7d78bad0823 (patch) | |
tree | 3a98c46e88d9023df34be3e6cce4f762d53aad36 /src/nxt_runtime.c | |
parent | 3e2632688f53c4cb08e7ac03c61e71facd038df4 (diff) | |
download | unit-7574c64992b98d3dfbc3dd101bd0f7d78bad0823.tar.gz unit-7574c64992b98d3dfbc3dd101bd0f7d78bad0823.tar.bz2 |
nxt_event_conn_... functions and structures have been renamed
to nxt_conn_...
Diffstat (limited to '')
-rw-r--r-- | src/nxt_runtime.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nxt_runtime.c b/src/nxt_runtime.c index 62b0e3b5..e35baa8f 100644 --- a/src/nxt_runtime.c +++ b/src/nxt_runtime.c @@ -497,9 +497,9 @@ nxt_runtime_quit(nxt_task_t *task) static void nxt_runtime_close_idle_connections(nxt_event_engine_t *engine) { + nxt_conn_t *c; nxt_queue_t *idle; nxt_queue_link_t *link, *next; - nxt_event_conn_t *c; nxt_debug(&engine->task, "close idle connections"); @@ -510,11 +510,11 @@ nxt_runtime_close_idle_connections(nxt_event_engine_t *engine) link = next) { next = nxt_queue_next(link); - c = nxt_queue_link_data(link, nxt_event_conn_t, link); + c = nxt_queue_link_data(link, nxt_conn_t, link); if (!c->socket.read_ready) { nxt_queue_remove(link); - nxt_event_conn_close(engine, c); + nxt_conn_close(engine, c); } } } |