summaryrefslogtreecommitdiffstats
path: root/modules/cache/cache_util.c
diff options
context:
space:
mode:
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 */