You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ja...@apache.org on 2013/12/13 07:04:02 UTC
svn commit: r1550651 - /httpd/httpd/trunk/modules/metadata/mod_remoteip.c
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);