From ba7de25b4464c5bdc25e2c559c3760f19e2b240a Mon Sep 17 00:00:00 2001 From: Krzysztof Krzyżaniak Date: Wed, 18 Mar 2009 10:20:09 +0000 Subject: new upstream version --- src/mod_expire.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mod_expire.c') 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)); -- cgit v1.2.3