From: Bill Stoddard Date: Thu, 18 Jul 2002 19:49:36 +0000 (+0000) Subject: Compare bytes to bytes. X-Git-Tag: 2.0.40~188 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e122b787a8283db741d2b4b6b65c1f5d0d6060c0;p=thirdparty%2Fapache%2Fhttpd.git Compare bytes to bytes. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96113 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/experimental/mod_mem_cache.c b/modules/experimental/mod_mem_cache.c index f3f9c2bc2df..fc2c158e3d4 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;