summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_sendbuf.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/nxt_sendbuf.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/nxt_sendbuf.c b/src/nxt_sendbuf.c
index e8a4c190..309d3147 100644
--- a/src/nxt_sendbuf.c
+++ b/src/nxt_sendbuf.c
@@ -343,8 +343,7 @@ nxt_sendbuf_completion(nxt_task_t *task, nxt_work_queue_t *wq, nxt_buf_t *b,
}
}
- nxt_thread_work_queue_add(task->thread, wq, b->completion_handler, task,
- b, b->parent);
+ nxt_work_queue_add(wq, b->completion_handler, task, b, b->parent);
b = b->next;
}