]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Remove redundant check
authorChristophe Jaillet <jailletc36@apache.org>
Fri, 13 Dec 2013 06:04:02 +0000 (06:04 +0000)
committerChristophe Jaillet <jailletc36@apache.org>
Fri, 13 Dec 2013 06:04:02 +0000 (06:04 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1550651 13f79535-47bb-0310-9956-ffa450edef68

modules/metadata/mod_remoteip.c

index c2fc944579befdeaa860bb5910f8cc4f05a977f8..6f9aa78cfa7fd4d976d93cfa8f53ae4b02e9a400 100644 (file)
@@ -198,7 +198,7 @@ static const char *proxylist_read(cmd_parms *cmd, void *cfg,
     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);