From 69a3a7f8c7eeddf8c102fa24a81974f60f60dc79 Mon Sep 17 00:00:00 2001 From: Bill Stoddard Date: Fri, 19 Jul 2002 02:24:26 +0000 Subject: [PATCH] Way too busy today.. last commit was wrong in two ways. First, 1KB is 1024 bytes, not 1000 bytes. Second, max_cache_size is already represented in bytes. Time for a vacation. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96118 13f79535-47bb-0310-9956-ffa450edef68 --- modules/experimental/mod_mem_cache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/experimental/mod_mem_cache.c b/modules/experimental/mod_mem_cache.c index fc2c158e3d..f3f9c2bc2d 100644 --- a/modules/experimental/mod_mem_cache.c +++ b/modules/experimental/mod_mem_cache.c @@ -1008,7 +1008,7 @@ static int mem_cache_post_config(apr_pool_t *p, apr_pool_t *plog, "MCacheMaxObjectSize must be greater than MCacheMinObjectSize"); return DONE; } - if (sconf->max_cache_object_size >= sconf->max_cache_size*1000) { + if (sconf->max_cache_object_size >= sconf->max_cache_size) { ap_log_error(APLOG_MARK, APLOG_CRIT, 0, s, "MCacheSize must be greater than MCacheMaxObjectSize"); return DONE; -- 2.40.0