]> granicus.if.org Git - apache/commitdiff
silence warning. No functional change
authorJim Jagielski <jim@apache.org>
Fri, 2 Dec 2016 11:56:36 +0000 (11:56 +0000)
committerJim Jagielski <jim@apache.org>
Fri, 2 Dec 2016 11:56:36 +0000 (11:56 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1772337 13f79535-47bb-0310-9956-ffa450edef68

server/core.c

index 2c64fdc4d2c75a54e66c34f653aab786a9cecd86..120c9bd034a4baa2642ee67397846fcd827393da 100644 (file)
@@ -2340,7 +2340,7 @@ static const char *dirsection(cmd_parms *cmd, void *mconfig, const char *arg)
             return "Regex could not be compiled";
         }
     }
-    else if (!strcmp(cmd->path, "/") == 0)
+    else if (strcmp(cmd->path, "/") != 0)
     {
         char *newpath;