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 2005-11-03 07:54:24 +00:00
parent c3f45ae6dd
commit 6fcfa114f1
1 changed files with 2 additions and 2 deletions

View File

@ -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 */