summaryrefslogtreecommitdiffstats
path: root/modules/cache
diff options
context:
space:
mode:
authorGraham Leggett <minfrin@apache.org>2013-06-10 16:08:43 +0200
committerGraham Leggett <minfrin@apache.org>2013-06-10 16:08:43 +0200
commitc0d199e03af18d7f050316f20d4eaf0d605677bb (patch)
treeb67a0326fc4aa71b1e1fb7ad6af80a36f1a90c93 /modules/cache
parentClose file in error path. (diff)
downloadapache2-c0d199e03af18d7f050316f20d4eaf0d605677bb.tar.xz
apache2-c0d199e03af18d7f050316f20d4eaf0d605677bb.zip
mod_cache_socache: Use the name of the socache implementation when performing
a lookup rather than using the raw arguments. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1491458 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/cache')
-rw-r--r--modules/cache/mod_cache_socache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/cache/mod_cache_socache.c b/modules/cache/mod_cache_socache.c
index 9e86f331bd..e75e124e42 100644
--- a/modules/cache/mod_cache_socache.c
+++ b/modules/cache/mod_cache_socache.c
@@ -1273,7 +1273,7 @@ static const char *set_cache_socache(cmd_parms *cmd, void *in_struct_ptr,
}
provider->socache_provider = ap_lookup_provider(AP_SOCACHE_PROVIDER_GROUP,
- arg, AP_SOCACHE_PROVIDER_VERSION);
+ name, AP_SOCACHE_PROVIDER_VERSION);
if (provider->socache_provider == NULL) {
err = apr_psprintf(cmd->pool,
"Unknown socache provider '%s'. Maybe you need "