]> granicus.if.org Git - apache/commitdiff
Further normalize initalization stanzas
authorWilliam A. Rowe Jr <wrowe@apache.org>
Fri, 25 Jun 2010 20:13:38 +0000 (20:13 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Fri, 25 Jun 2010 20:13:38 +0000 (20:13 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@958097 13f79535-47bb-0310-9956-ffa450edef68

modules/aaa/mod_authn_socache.c

index 88f2628c497fe443761b19d36c4f399ed84fc4e1..83ecc83a48f67c622db56260a5c07a367053715d 100644 (file)
@@ -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),