summaryrefslogtreecommitdiff
path: root/src/mod_expire.c
diff options
context:
space:
mode:
authorKrzysztof Krzyżaniak <eloy@debian.org>2009-03-18 10:20:09 +0000
committerKrzysztof Krzyżaniak <eloy@debian.org>2009-03-18 10:20:09 +0000
commitba7de25b4464c5bdc25e2c559c3760f19e2b240a (patch)
treeb49c5aa3b3ac6be16de774f8ae502c21ae7b0626 /src/mod_expire.c
parentfd9cddc7b9d8062a6f8ba4b506c41a86ff22e2df (diff)
downloadlighttpd-ba7de25b4464c5bdc25e2c559c3760f19e2b240a.tar.gz
new upstream version
Diffstat (limited to 'src/mod_expire.c')
-rw-r--r--src/mod_expire.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_expire.c b/src/mod_expire.c
index b58b97d..6aed514 100644
--- a/src/mod_expire.c
+++ b/src/mod_expire.c
@@ -339,7 +339,7 @@ URIHANDLER_FUNC(mod_expire_path_handler) {
response_header_overwrite(srv, con, CONST_STR_LEN("Expires"), CONST_BUF_LEN(p->expire_tstmp));
/* HTTP/1.1 */
- buffer_copy_string(p->expire_tstmp, "max-age=");
+ buffer_copy_string_len(p->expire_tstmp, CONST_STR_LEN("max-age="));
buffer_append_long(p->expire_tstmp, ts);
response_header_overwrite(srv, con, CONST_STR_LEN("Cache-Control"), CONST_BUF_LEN(p->expire_tstmp));