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 18 years ago
parent ba50f7fbfc
commit 7cd02126d5

@ -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