Changeset 1908
- Timestamp:
- 08/15/2007 09:49:15 AM (14 months ago)
- Location:
- branches/lighttpd-1.4.x
- Files:
-
- 2 modified
-
NEWS (modified) (1 diff)
-
src/etag.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/lighttpd-1.4.x/NEWS
r1900 r1908 6 6 - 1.4.17 - 7 7 * fixed hardcoded font-sizes in mod_dirlisting (#1267) 8 * fixed different ETag length on 32/64 platforms (#1279) 8 9 9 10 - 1.4.16 - -
branches/lighttpd-1.4.x/src/etag.c
r1880 r1908 1 1 #include <string.h> 2 #include <stdint.h> 2 3 3 4 #include "buffer.h" … … 32 33 33 34 int etag_mutate(buffer *mut, buffer *etag) { 34 size_t h, i; 35 size_t i; 36 uint32_t h; 35 37 36 38 for (h=0, i=0; i < etag->used; ++i) h = (h<<5)^(h>>27)^(etag->ptr[i]);

