summaryrefslogtreecommitdiff
path: root/src/mod_cml_lua.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mod_cml_lua.c')
-rw-r--r--src/mod_cml_lua.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_cml_lua.c b/src/mod_cml_lua.c
index 926f3ff6..ba786f33 100644
--- a/src/mod_cml_lua.c
+++ b/src/mod_cml_lua.c
@@ -281,7 +281,7 @@ int cache_parse_lua(server *srv, connection *con, plugin_data *p, buffer *fn) {
lua_settop(L, curelem - 1);
if (ret == 0) {
- buffer *vb = http_header_response_get(con, HTTP_HEADER_LAST_MODIFIED, CONST_STR_LEN("Last-Modified"));
+ const buffer *vb = http_header_response_get(con, HTTP_HEADER_LAST_MODIFIED, CONST_STR_LEN("Last-Modified"));
if (NULL == vb) { /* no Last-Modified specified */
char timebuf[sizeof("Sat, 23 Jul 2005 21:20:01 GMT")];
if (0 == mtime) mtime = time(NULL); /* default last-modified to now */