summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_macosx_sendfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nxt_macosx_sendfile.c')
-rw-r--r--src/nxt_macosx_sendfile.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/nxt_macosx_sendfile.c b/src/nxt_macosx_sendfile.c
index f636819c..2c6ea954 100644
--- a/src/nxt_macosx_sendfile.c
+++ b/src/nxt_macosx_sendfile.c
@@ -26,8 +26,7 @@ static int nxt_sys_sendfile(int fd, int s, off_t offset, off_t *len,
ssize_t
-nxt_macosx_event_conn_io_sendfile(nxt_event_conn_t *c, nxt_buf_t *b,
- size_t limit)
+nxt_macosx_event_conn_io_sendfile(nxt_conn_t *c, nxt_buf_t *b, size_t limit)
{
size_t hd_size, file_size;
ssize_t n;