summaryrefslogtreecommitdiff
path: root/modules/cache
diff options
context:
space:
mode:
authorStefan Fritsch <sf@sfritsch.de>2011-12-27 19:42:28 +0100
committerStefan Fritsch <sf@sfritsch.de>2011-12-27 19:42:28 +0100
commit02a0e3b89d2ea1b984365e692c910668d75c6dcd (patch)
treeb9ba1c635c12bace3b2afbe7f548a0aab67102f5 /modules/cache
parent0268977037115539ad65a26e858aa0df8d18cd13 (diff)
downloadapache2-02a0e3b89d2ea1b984365e692c910668d75c6dcd.tar.gz
Upstream tarball 2.2.11upstream/2.2.11
Diffstat (limited to 'modules/cache')
-rw-r--r--modules/cache/cache_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/cache/cache_util.c b/modules/cache/cache_util.c
index 78770ffd..ec2d749b 100644
--- a/modules/cache/cache_util.c
+++ b/modules/cache/cache_util.c
@@ -351,7 +351,7 @@ CACHE_DECLARE(int) ap_cache_check_freshness(cache_handle_t *h,
if (!(((smaxage != -1) && age < smaxage) ||
((maxage != -1) && age < maxage) ||
(info->expire != APR_DATE_BAD &&
- (info->expire - info->date) > age))) {
+ (apr_time_sec(info->expire - info->date)) > age))) {
/* make sure we don't stomp on a previous warning */
if ((warn_head == NULL) ||
((warn_head != NULL) && (ap_strstr_c(warn_head, "110") == NULL))) {