From de532922d9ab42aa15b40d47c8db53ac2af38500 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Mon, 23 Jan 2017 19:56:03 +0300 Subject: Introducing tasks. --- src/nxt_linux_sendfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nxt_linux_sendfile.c') diff --git a/src/nxt_linux_sendfile.c b/src/nxt_linux_sendfile.c index 9c8f563c..1dbac677 100644 --- a/src/nxt_linux_sendfile.c +++ b/src/nxt_linux_sendfile.c @@ -62,7 +62,7 @@ nxt_linux_event_conn_io_sendfile(nxt_event_conn_t *c, nxt_buf_t *b, sb.size = 0; sb.limit = limit; - niov = nxt_sendbuf_mem_coalesce(&sb); + niov = nxt_sendbuf_mem_coalesce(c->socket.task, &sb); if (niov == 0 && sb.sync) { return 0; -- cgit