aboutsummaryrefslogtreecommitdiff
path: root/src/daemon/daemon.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/daemon/daemon.c')
-rw-r--r--src/daemon/daemon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/daemon/daemon.c b/src/daemon/daemon.c
index 558954d6..31a87bf0 100644
--- a/src/daemon/daemon.c
+++ b/src/daemon/daemon.c
@@ -701,7 +701,7 @@ send_param_adapter (struct MHD_Connection *connection,
701 (-1 != (fd = connection->response->fd)) ) 701 (-1 != (fd = connection->response->fd)) )
702 { 702 {
703 /* can use sendfile */ 703 /* can use sendfile */
704 offset = (off_t) connection->response_write_position; 704 offset = (off_t) connection->response_write_position + connection->response->fd_off;
705 ret = sendfile (connection->socket_fd, 705 ret = sendfile (connection->socket_fd,
706 fd, 706 fd,
707 &offset, 707 &offset,