On Thu, Jun 24, 2010 at 1:20 PM, William A. Rowe Jr. <[email protected]> wrote: > On 6/23/2010 5:50 PM, NormW wrote: >>> @@ -342,11 +343,12 @@ >>> const char *realm, char **rethash) >>> { >>> apr_status_t rv; >>> + const char *key; >>> authn_cache_dircfg *dcfg; >>> unsigned char val[MAX_VAL_LEN]; >>> unsigned int vallen = MAX_VAL_LEN - 1; >>> dcfg = ap_get_module_config(r->per_dir_config, >>> &authn_socache_module); >>> - const char *key = construct_key(r, dcfg->context, user, realm); >>> + key = construct_key(r, dcfg->context, user, realm); >>> rv = socache_provider->retrieve(socache_instance, r->server, >>> (unsigned char*)key, strlen(key), >>> val, &vallen, r->pool); > > This is a C99/C++'ism that needs to be fixed.
at least I can see this one :)
