httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jaillet...@apache.org
Subject svn commit: r1550651 - /httpd/httpd/trunk/modules/metadata/mod_remoteip.c
Date Fri, 13 Dec 2013 06:04:02 GMT
Author: jailletc36
Date: Fri Dec 13 06:04:02 2013
New Revision: 1550651

URL: http://svn.apache.org/r1550651
Log:
Remove redundant check

Modified:
    httpd/httpd/trunk/modules/metadata/mod_remoteip.c

Modified: httpd/httpd/trunk/modules/metadata/mod_remoteip.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/metadata/mod_remoteip.c?rev=1550651&r1=1550650&r2=1550651&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/metadata/mod_remoteip.c (original)
+++ httpd/httpd/trunk/modules/metadata/mod_remoteip.c Fri Dec 13 06:04:02 2013
@@ -198,7 +198,7 @@ static const char *proxylist_read(cmd_pa
     while (!(ap_cfg_getline(lbuf, MAX_STRING_LEN, cfp))) {
         args = lbuf;
         while (*(arg = ap_getword_conf(cmd->temp_pool, &args)) != '\0') {
-            if (*arg == '#' || *arg == '\0') {
+            if (*arg == '#') {
                 break;
             }
             errmsg = proxies_set(cmd, cfg, arg);



Mime
View raw message