Browse Source

fixed cache-control value

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@817 152afb58-edef-0310-8abb-c4023f1b3aa9
svn/tags/lighttpd-1.4.8
Jan Kneschke 17 years ago
parent
commit
6fcfa114f1
  1. 4
      src/mod_expire.c

4
src/mod_expire.c

@ -304,12 +304,12 @@ URIHANDLER_FUNC(mod_expire_path_handler) {
switch(mod_expire_get_offset(srv, p, ds->value, &ts)) {
case 0:
/* access */
t = (ts += srv->cur_ts);
t = (ts + srv->cur_ts);
break;
case 1:
/* modification */
t = (ts += sce->st.st_mtime);
t = (ts + sce->st.st_mtime);
break;
default:
/* -1 is handled at parse-time */

Loading…
Cancel
Save