You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by wr...@apache.org on 2010/06/25 22:13:38 UTC

svn commit: r958097 - /httpd/httpd/trunk/modules/aaa/mod_authn_socache.c

Author: wrowe
Date: Fri Jun 25 20:13:38 2010
New Revision: 958097

URL: http://svn.apache.org/viewvc?rev=958097&view=rev
Log:
Further normalize initalization stanzas

Modified:
    httpd/httpd/trunk/modules/aaa/mod_authn_socache.c

Modified: httpd/httpd/trunk/modules/aaa/mod_authn_socache.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/aaa/mod_authn_socache.c?rev=958097&r1=958096&r2=958097&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/aaa/mod_authn_socache.c (original)
+++ httpd/httpd/trunk/modules/aaa/mod_authn_socache.c Fri Jun 25 20:13:38 2010
@@ -302,10 +302,10 @@ static authn_status check_password(reque
      */
     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),