You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by yl...@apache.org on 2016/03/30 13:30:51 UTC

svn commit: r1737103 - /httpd/httpd/trunk/server/core.c

Author: ylavic
Date: Wed Mar 30 11:30:50 2016
New Revision: 1737103

URL: http://svn.apache.org/viewvc?rev=1737103&view=rev
Log:
core: 'xauth list|grep yl4p |awk '{print }' == 0' => 'x != 0' to avoid a compiler warning (suggesting parens).

Modified:
    httpd/httpd/trunk/server/core.c

Modified: httpd/httpd/trunk/server/core.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/core.c?rev=1737103&r1=1737102&r2=1737103&view=diff
==============================================================================
--- httpd/httpd/trunk/server/core.c (original)
+++ httpd/httpd/trunk/server/core.c Wed Mar 30 11:30:50 2016
@@ -2407,7 +2407,7 @@ static const char *dirsection(cmd_parms
             return "Regex could not be compiled";
         }
     }
-    else if (!strcmp(cmd->path, "/") == 0)
+    else if (strcmp(cmd->path, "/") != 0)
     {
         char *newpath;