summaryrefslogtreecommitdiffstats
path: root/modules/cache/cache_util.c
diff options
context:
space:
mode:
authorGraham Leggett <minfrin@apache.org>2010-09-22 23:35:38 +0200
committerGraham Leggett <minfrin@apache.org>2010-09-22 23:35:38 +0200
commitfe32c3562b2514e65e63588c42ef0bef9b80b020 (patch)
tree2e32fd0372801af46e1527fe63634c71d2e0d13e /modules/cache/cache_util.c
parentMake cache_server_conf, cache_enable and cache_disable private. Remove (diff)
downloadapache2-fe32c3562b2514e65e63588c42ef0bef9b80b020.tar.xz
apache2-fe32c3562b2514e65e63588c42ef0bef9b80b020.zip
Make cache_provider_list and cache_request_rec private by moving them
out of mod_cache.h. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1000247 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/cache/cache_util.c')
-rw-r--r--modules/cache/cache_util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/cache/cache_util.c b/modules/cache/cache_util.c
index 47af99e236..576d8fd9f3 100644
--- a/modules/cache/cache_util.c
+++ b/modules/cache/cache_util.c
@@ -257,7 +257,7 @@ apr_status_t cache_try_lock(cache_server_conf *conf,
/* create the key if it doesn't exist */
if (!key) {
- cache_generate_key(cache, r, r->pool, &key);
+ cache_generate_key(r, r->pool, &cache->key);
}
/* create a hashed filename from the key, and save it for later */
@@ -364,7 +364,7 @@ apr_status_t cache_remove_lock(cache_server_conf *conf,
/* create the key if it doesn't exist */
if (!key) {
- cache_generate_key(cache, r, r->pool, &key);
+ cache_generate_key(r, r->pool, &cache->key);
}
/* create a hashed filename from the key, and save it for later */