diff options
author | Igor Sysoev <igor@sysoev.ru> | 2017-01-27 11:35:11 +0300 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2017-01-27 11:35:11 +0300 |
commit | ba0391577b06446307fa073f856f57748557e0dd (patch) | |
tree | b2b871a041edee242662c95197bed292531c3a9a /src/nxt_sendbuf.c | |
parent | 6886b83c1f3bfdc514d58ad6e9ab40873cafcb54 (diff) | |
download | unit-ba0391577b06446307fa073f856f57748557e0dd.tar.gz unit-ba0391577b06446307fa073f856f57748557e0dd.tar.bz2 |
Work queues refactoring.
Diffstat (limited to '')
-rw-r--r-- | src/nxt_sendbuf.c | 3 |
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; } |