diff options
author | Stefan Bühler <stbuehler@web.de> | 2010-07-04 07:45:17 +0000 |
---|---|---|
committer | Stefan Bühler <stbuehler@web.de> | 2010-07-04 07:45:17 +0000 |
commit | 63233d3c47d4cd37be7e07c98cd5f778c782e652 (patch) | |
tree | cc59eeff571ce827846e49c90c89903a3096233e | |
parent | bd4c4aaab2237ab205497dd2d8c4a02969936579 (diff) | |
download | lighttpd-git-63233d3c47d4cd37be7e07c98cd5f778c782e652.tar.gz |
Fix etag formatting
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2730 152afb58-edef-0310-8abb-c4023f1b3aa9
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | src/etag.c | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -14,6 +14,7 @@ NEWS * Print double quotes properly when dumping config file (fixes #1806) * Include IP addresses on error log on password failures (fixes #2191) * Fix stalls while reading from ssl sockets (fixes #2197) + * Fix etag formatting on boxes with 32-bit longs - 1.4.26 - 2010-02-07 * Fix request parser to handle packets with splitted \r\n\r\n (fixes #2105) @@ -44,7 +44,7 @@ int etag_mutate(buffer *mut, buffer *etag) { buffer_reset(mut); buffer_copy_string_len(mut, CONST_STR_LEN("\"")); - buffer_append_long(mut, h); + buffer_append_off_t(mut, h); buffer_append_string_len(mut, CONST_STR_LEN("\"")); return 0; |