diff options
author | Arno Töll <arno@debian.org> | 2012-11-21 23:03:53 +0100 |
---|---|---|
committer | Arno Töll <arno@debian.org> | 2012-11-21 23:03:53 +0100 |
commit | 8bc3f8767c4f4f4687d085405db60df79686521d (patch) | |
tree | a9d381d04e6af3c516540934cc0073c15c928749 /src/etag.c | |
parent | 36c2c9520cdf4e725d0597eaa28c350087f1d3c0 (diff) | |
download | lighttpd-8bc3f8767c4f4f4687d085405db60df79686521d.tar.gz |
Imported Upstream version 1.4.23upstream/1.4.23
Diffstat (limited to 'src/etag.c')
-rw-r--r-- | src/etag.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -44,7 +44,7 @@ int etag_mutate(buffer *mut, buffer *etag) { size_t i; uint32_t h; - for (h=0, i=0; i < etag->used; ++i) h = (h<<5)^(h>>27)^(etag->ptr[i]); + for (h=0, i=0; i < etag->used-1; ++i) h = (h<<5)^(h>>27)^(etag->ptr[i]); buffer_reset(mut); buffer_copy_string_len(mut, CONST_STR_LEN("\"")); |