diff options
| author | Jim Jagielski <jim@apache.org> | 2011-03-10 16:52:42 +0000 |
|---|---|---|
| committer | Jim Jagielski <jim@apache.org> | 2011-03-10 16:52:42 +0000 |
| commit | 4b0ffd9d94a58839296f4aa702f2ac0a39708bd2 (patch) | |
| tree | 9bdd1c8b3bff0e62b58bd26d226b3ae6d1a4b940 /modules/aaa/mod_authn_socache.c | |
| parent | 745c6073d94881cdba287e422f3d83aa730e45a7 (diff) | |
| download | httpd-4b0ffd9d94a58839296f4aa702f2ac0a39708bd2.tar.gz | |
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/mod_authn_socache.c')
| -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, |
