From: Christophe Jaillet Date: Fri, 11 Dec 2015 05:13:03 +0000 (+0000) Subject: Do not use the magic string "directory". Use the corresponding global variable as... X-Git-Tag: 2.5.0-alpha~2544 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cb3a54abd7a11e41d7e821f35345f582d0078399;p=apache Do not use the magic string "directory". Use the corresponding global variable as in all other places of the module. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1719257 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/aaa/mod_authn_socache.c b/modules/aaa/mod_authn_socache.c index 15b1dd59a9..98f2f7e588 100644 --- a/modules/aaa/mod_authn_socache.c +++ b/modules/aaa/mod_authn_socache.c @@ -266,7 +266,7 @@ static const char *construct_key(request_rec *r, const char *context, const char *user, const char *realm) { /* handle "special" context values */ - if (!strcmp(context, "directory")) { + if (!strcmp(context, directory)) { /* FIXME: are we at risk of this blowing up? */ char *new_context; char *slash = strrchr(r->uri, '/');