httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yla...@apache.org
Subject svn commit: r1737103 - /httpd/httpd/trunk/server/core.c
Date Wed, 30 Mar 2016 11:30:51 GMT
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;
 



Mime
View raw message