diff options
author | Jan Kneschke <jan@kneschke.de> | 2005-10-24 11:36:22 +0000 |
---|---|---|
committer | Jan Kneschke <jan@kneschke.de> | 2005-10-24 11:36:22 +0000 |
commit | c2686592b8ab51c979a818ec4b5a2603b17acd8f (patch) | |
tree | b7012b3d1cfed67b9c22c7fd4b1d725d556c96bb /src/network_write.c | |
parent | 405dc987b934d6912bcfaf78413ad4afbb65a943 (diff) | |
download | lighttpd-git-c2686592b8ab51c979a818ec4b5a2603b17acd8f.tar.gz |
renamed file.offset to file.start (we had 3 different 'offset' which was confusing)
added a offset tag to the mmap part of the file-struct to allow moving mmap-windows
git-svn-id: svn+ssh://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@795 152afb58-edef-0310-8abb-c4023f1b3aa9
Diffstat (limited to 'src/network_write.c')
-rw-r--r-- | src/network_write.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network_write.c b/src/network_write.c index 177e90b6..90fc2ac9 100644 --- a/src/network_write.c +++ b/src/network_write.c @@ -83,7 +83,7 @@ int network_write_chunkqueue_write(server *srv, connection *con, int fd, chunkqu return -1; } - offset = c->file.offset + c->offset; + offset = c->file.start + c->offset; toSend = c->file.length - c->offset; if (offset > sce->st.st_size) { |