diff options
author | jan <jan@152afb58-edef-0310-8abb-c4023f1b3aa9> | 2005-10-24 11:36:22 +0000 |
---|---|---|
committer | jan <jan@152afb58-edef-0310-8abb-c4023f1b3aa9> | 2005-10-24 11:36:22 +0000 |
commit | b80f10317d24db250e7af0ecb2f8d753f48f0eb3 (patch) | |
tree | b7012b3d1cfed67b9c22c7fd4b1d725d556c96bb /src/network_solaris_sendfilev.c | |
parent | 82b8cb0da1c1fea32cff9746e5d601af25c444a2 (diff) | |
download | lighttpd-b80f10317d24db250e7af0ecb2f8d753f48f0eb3.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://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@795 152afb58-edef-0310-8abb-c4023f1b3aa9
Diffstat (limited to 'src/network_solaris_sendfilev.c')
-rw-r--r-- | src/network_solaris_sendfilev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network_solaris_sendfilev.c b/src/network_solaris_sendfilev.c index 9c4ca625..0ab669f0 100644 --- a/src/network_solaris_sendfilev.c +++ b/src/network_solaris_sendfilev.c @@ -151,7 +151,7 @@ int network_write_chunkqueue_solarissendfilev(server *srv, connection *con, int 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) { |