]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
SourceFormat Enforcement
authorSource Maintenance <squidadm@squid-cache.org>
Thu, 6 Aug 2015 12:12:11 +0000 (12:12 +0000)
committerSource Maintenance <squidadm@squid-cache.org>
Thu, 6 Aug 2015 12:12:11 +0000 (12:12 +0000)
src/http/RegisteredHeaders.cc

index 78e89aa9bf1b28dfa9cd2109f499bca4d08effea..e8f220f607da85434f90fbb04d87837e3fe64ed8 100644 (file)
@@ -124,9 +124,10 @@ const LookupTable<Http::HdrType, HeaderTableRecord> HeaderLookupTable(Http::HdrT
 std::ostream&
 operator<< (std::ostream &s, Http::HdrType id)
 {
-       if (Http::any_HdrType_enum_value(id))
-               s << Http::HeaderTable[id].name << '[' << static_cast<int>(id) << ']';
-       else
-               s << "Invalid-Header[" << static_cast<int>(id) << ']';
-       return s;
+    if (Http::any_HdrType_enum_value(id))
+        s << Http::HeaderTable[id].name << '[' << static_cast<int>(id) << ']';
+    else
+        s << "Invalid-Header[" << static_cast<int>(id) << ']';
+    return s;
 }
+