summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Kneschke <jan@kneschke.de>2006-02-15 18:09:01 +0000
committerJan Kneschke <jan@kneschke.de>2006-02-15 18:09:01 +0000
commit490db477faa440c41cfede67d43be74cf2a5a4c7 (patch)
tree78548d455017deac93ddf9738722af37891aac76
parentf08b817f1582dd1a3eb7e761c0206a44938270eb (diff)
downloadlighttpd-git-490db477faa440c41cfede67d43be74cf2a5a4c7.tar.gz
oops, fixed compile
git-svn-id: svn+ssh://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@1000 152afb58-edef-0310-8abb-c4023f1b3aa9
-rw-r--r--src/network_linux_sendfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network_linux_sendfile.c b/src/network_linux_sendfile.c
index 101d3295..580ba878 100644
--- a/src/network_linux_sendfile.c
+++ b/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;
}