diff options
author | Jim Jagielski <jim@apache.org> | 2011-03-10 17:52:42 +0100 |
---|---|---|
committer | Jim Jagielski <jim@apache.org> | 2011-03-10 17:52:42 +0100 |
commit | 4b0ffd9d94a58839296f4aa702f2ac0a39708bd2 (patch) | |
tree | 9bdd1c8b3bff0e62b58bd26d226b3ae6d1a4b940 /modules/aaa | |
parent | Warn the server admin not to relax the security of <Directory /> (diff) | |
download | apache2-4b0ffd9d94a58839296f4aa702f2ac0a39708bd2.tar.xz apache2-4b0ffd9d94a58839296f4aa702f2ac0a39708bd2.zip |
Fix brokeness... Thx Rüdiger Plüm
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1080276 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/aaa')
-rw-r--r-- | modules/aaa/mod_authn_socache.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/aaa/mod_authn_socache.c b/modules/aaa/mod_authn_socache.c index 1ec76e80eb..4d7cfd8783 100644 --- a/modules/aaa/mod_authn_socache.c +++ b/modules/aaa/mod_authn_socache.c @@ -126,11 +126,12 @@ static int authn_cache_post_config(apr_pool_t *pconf, apr_pool_t *plog, } static void authn_cache_child_init(apr_pool_t *p, server_rec *s) { - const char *lock = apr_global_mutex_lockfile(authn_cache_mutex); + const char *lock; apr_status_t rv; if (!configured) { return; /* don't waste the overhead of creating mutex & cache */ } + lock = apr_global_mutex_lockfile(authn_cache_mutex); rv = apr_global_mutex_child_init(&authn_cache_mutex, lock, p); if (rv != APR_SUCCESS) { ap_log_error(APLOG_MARK, APLOG_CRIT, rv, s, |