summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 de41ba4d..9efe7500 100644
--- a/src/nxt_runtime.c
+++ b/src/nxt_runtime.c
@@ -459,7 +459,7 @@ nxt_runtime_close_idle_connections(nxt_event_engine_t *engine)
idle = &engine->idle_connections;
- for (link = nxt_queue_head(idle);
+ for (link = nxt_queue_first(idle);
link != nxt_queue_tail(idle);
link = next)
{