]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
SourceFormat Enforcement
authorAutomatic source maintenance <squidadm@squid-cache.org>
Wed, 18 Aug 2010 02:24:34 +0000 (20:24 -0600)
committerAutomatic source maintenance <squidadm@squid-cache.org>
Wed, 18 Aug 2010 02:24:34 +0000 (20:24 -0600)
src/HttpHeaderTools.cc
src/cache_cf.cc

index 5227902b0d86663045504ee88f2ae08aeec4d3d5..09e7b903478651fd0154d3ade7aae2b80c63e69c 100644 (file)
@@ -153,10 +153,10 @@ httpHeaderHasConnDir(const HttpHeader * hdr, const char *directive)
         list = hdr->getList(HDR_PROXY_CONNECTION);
     else
 #endif
-    if (hdr->has(HDR_CONNECTION))
-        list = hdr->getList(HDR_CONNECTION);
-    else
-        return 0;
+        if (hdr->has(HDR_CONNECTION))
+            list = hdr->getList(HDR_CONNECTION);
+        else
+            return 0;
 
     res = strListIsMember(&list, directive, ',');
 
index caf3aa23d5bbe22c97ade60713334a5c1e331c7e..203d621abdd7aada55b98bf9b3afa82049f2c2f5 100644 (file)
@@ -3158,7 +3158,7 @@ parse_http_port_option(http_port_list * s, char *token)
         s->sslcontext = xstrdup(token + 11);
     } else if (strcasecmp(token, "sslBump") == 0) {
         debugs(3, DBG_CRITICAL, "WARNING: '" << token << "' is deprecated " <<
-           "in http_port. Use 'ssl-bump' instead.");
+               "in http_port. Use 'ssl-bump' instead.");
         s->sslBump = 1; // accelerated when bumped, otherwise not
     } else if (strcmp(token, "ssl-bump") == 0) {
         s->sslBump = 1; // accelerated when bumped, otherwise not