summaryrefslogtreecommitdiffstats
path: root/modules/aaa
diff options
context:
space:
mode:
authorWilliam A. Rowe Jr <wrowe@apache.org>2010-06-25 22:13:38 +0200
committerWilliam A. Rowe Jr <wrowe@apache.org>2010-06-25 22:13:38 +0200
commit03da12600ef9cbaf628852469a3ac73d526574d6 (patch)
treee871f82a451500c2447d97c615d95508996f824b /modules/aaa
parentC99 is not a requirement, fix style violation niq refuses(?) to correct. (diff)
downloadapache2-03da12600ef9cbaf628852469a3ac73d526574d6.tar.xz
apache2-03da12600ef9cbaf628852469a3ac73d526574d6.zip
Further normalize initalization stanzas
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@958097 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/aaa')
-rw-r--r--modules/aaa/mod_authn_socache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/aaa/mod_authn_socache.c b/modules/aaa/mod_authn_socache.c
index 88f2628c49..83ecc83a48 100644
--- a/modules/aaa/mod_authn_socache.c
+++ b/modules/aaa/mod_authn_socache.c
@@ -302,10 +302,10 @@ static authn_status check_password(request_rec *r, const char *user,
*/
apr_status_t rv;
const char *key;
+ authn_cache_dircfg *dcfg;
unsigned char val[MAX_VAL_LEN];
unsigned int vallen = MAX_VAL_LEN - 1;
- authn_cache_dircfg *dcfg = ap_get_module_config(r->per_dir_config,
- &authn_socache_module);
+ dcfg = ap_get_module_config(r->per_dir_config, &authn_socache_module);
key = construct_key(r, dcfg->context, user, NULL);
rv = socache_provider->retrieve(socache_instance, r->server,
(unsigned char*)key, strlen(key),