]> granicus.if.org Git - apache/commitdiff
Add missing break.
authorChristophe Jaillet <jailletc36@apache.org>
Thu, 9 Jan 2014 18:45:34 +0000 (18:45 +0000)
committerChristophe Jaillet <jailletc36@apache.org>
Thu, 9 Jan 2014 18:45:34 +0000 (18:45 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1556912 13f79535-47bb-0310-9956-ffa450edef68

modules/proxy/mod_proxy.c

index 9279cc81afc6d6d43613b5b077235ceb548afb49..8b3edda656892efef6bc1f1018e078f9e6440ce9 100644 (file)
@@ -1726,6 +1726,7 @@ static const char *
     for (i = 0; i < conf->noproxies->nelts; i++) {
         if (strcasecmp(arg, list[i].name) == 0) { /* ignore case for host names */
             found = 1;
+            break;
         }
     }
 
@@ -1761,6 +1762,7 @@ static const char *
     for (i = 0; i < conf->dirconn->nelts; i++) {
         if (strcasecmp(arg, list[i].name) == 0)
             found = 1;
+            break;
     }
 
     if (!found) {