From: Jeff Trawick Date: Wed, 13 Dec 2000 13:22:51 +0000 (+0000) Subject: Get rid of the once_through flag. It is never used and doesn't work X-Git-Tag: APACHE_2_0_BETA_CANDIDATE_1~446 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=78309d6d2173f043f17aea6587a074f3deda698e;p=apache Get rid of the once_through flag. It is never used and doesn't work in DSO mode anyway. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87329 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/cache/mod_file_cache.c b/modules/cache/mod_file_cache.c index 11b7c3dc1a..e256055fab 100644 --- a/modules/cache/mod_file_cache.c +++ b/modules/cache/mod_file_cache.c @@ -131,7 +131,6 @@ #include "apr_strings.h" module AP_MODULE_DECLARE_DATA file_cache_module; -static int once_through = 0; typedef struct { #if APR_HAS_SENDFILE @@ -337,8 +336,6 @@ static void file_cache_post_config(apr_pool_t *p, apr_pool_t *plog, a_file *elts; int nelts; - once_through++; - /* sort the elements of the main_server, by filename */ sconf = ap_get_module_config(s->module_config, &file_cache_module); elts = (a_file *)sconf->files->elts;