From 6fcfa114f1bec32564668bc355dc2a5a37252a0c Mon Sep 17 00:00:00 2001 From: Jan Kneschke Date: Thu, 3 Nov 2005 07:54:24 +0000 Subject: [PATCH] fixed cache-control value git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@817 152afb58-edef-0310-8abb-c4023f1b3aa9 --- src/mod_expire.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mod_expire.c b/src/mod_expire.c index 1f924a39..619b5429 100644 --- a/src/mod_expire.c +++ b/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 */