From dfdf93ecf7ecdb6127951ec5ea9c4f757c84785f Mon Sep 17 00:00:00 2001 From: Bill Stoddard Date: Thu, 18 Jul 2002 19:49:36 +0000 Subject: [PATCH] Compare bytes to bytes. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96113 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 f3f9c2bc2d..fc2c158e3d 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) { + if (sconf->max_cache_object_size >= sconf->max_cache_size*1000) { ap_log_error(APLOG_MARK, APLOG_CRIT, 0, s, "MCacheSize must be greater than MCacheMaxObjectSize"); return DONE; -- 2.50.1