]> granicus.if.org Git - apache/commitdiff
Do not use the magic string "directory". Use the corresponding global variable as...
authorChristophe Jaillet <jailletc36@apache.org>
Fri, 11 Dec 2015 05:13:03 +0000 (05:13 +0000)
committerChristophe Jaillet <jailletc36@apache.org>
Fri, 11 Dec 2015 05:13:03 +0000 (05:13 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1719257 13f79535-47bb-0310-9956-ffa450edef68

modules/aaa/mod_authn_socache.c

index 15b1dd59a97a71ba3aeb6f5c0f5bd24a43803c44..98f2f7e5889c9583dccaab77f62b736815823a76 100644 (file)
@@ -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, '/');