From: Jim Jagielski Date: Fri, 2 Dec 2016 11:56:36 +0000 (+0000) Subject: silence warning. No functional change X-Git-Tag: 2.4.24~83 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c1292064034d9c4b1826a47c8cfa5e6861c95a80;p=apache silence warning. No functional change git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1772337 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/core.c b/server/core.c index 2c64fdc4d2..120c9bd034 100644 --- a/server/core.c +++ b/server/core.c @@ -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;