Browse Source

oops, fixed compile

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@1000 152afb58-edef-0310-8abb-c4023f1b3aa9
svn/tags/lighttpd-1.4.11
Jan Kneschke 17 years ago
parent
commit
7cd02126d5
  1. 2
      src/network_linux_sendfile.c

2
src/network_linux_sendfile.c

@ -185,7 +185,7 @@ int network_write_chunkqueue_linuxsendfile(server *srv, connection *con, int fd,
return -1;
}
if (abs_offset > sce->st.st_size) {
if (offset > sce->st.st_size) {
/* file shrinked, close the connection */
return -1;
}

Loading…
Cancel
Save