summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_linux_sendfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nxt_linux_sendfile.c')
-rw-r--r--src/nxt_linux_sendfile.c2
1 files changed, 1 insertions, 1 deletions
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;