]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Source formatting
authorFrancesco Chemolli <kinkie@squid-cache.org>
Tue, 4 Aug 2015 11:09:31 +0000 (13:09 +0200)
committerFrancesco Chemolli <kinkie@squid-cache.org>
Tue, 4 Aug 2015 11:09:31 +0000 (13:09 +0200)
src/HttpHeader.cc
src/HttpHeaderFieldInfo.h
src/http/RegisteredHeaders.cc

index fd211c8f776d7d71f5a0dfe6efd2993691fbdb92..ca07b609c3d41a99928e7479ecdfbdc8571cb76f 100644 (file)
@@ -1720,9 +1720,9 @@ httpHeaderStoreReport(StoreEntry * e)
     for (int j = 0; headerTable[j].name != nullptr; ++j) {
         auto stats = headerStatsTable[j];
         storeAppendPrintf(e, "%2d\t %-25s\t %5d\t %6.3f\t %6.3f\n",
-            headerTable[j].id, headerTable[j].name, stats.aliveCount,
-            xpercent(stats.errCount, stats.parsCount),
-            xpercent(stats.repCount, stats.seenCount));
+                          headerTable[j].id, headerTable[j].name, stats.aliveCount,
+                          xpercent(stats.errCount, stats.parsCount),
+                          xpercent(stats.repCount, stats.seenCount));
     }
 
     storeAppendPrintf(e, "Headers Parsed: %d + %d = %d\n",
index a1bd5b2a8c7eb80af842c7f2deef1f7d2bbdb974..065e967c0bfa041bcf44ffa7f84778d7cc83aab7 100644 (file)
@@ -9,8 +9,8 @@
 #ifndef SQUID_HTTPHEADERFIELDINFO_H_
 #define SQUID_HTTPHEADERFIELDINFO_H_
 
-#include "HttpHeaderFieldStat.h"
 #include "http/RegisteredHeaders.h"
+#include "HttpHeaderFieldStat.h"
 #include "SquidString.h"
 
 /// compiled version of HttpHeaderFieldAttrs plus stats. Currently a POD.
index 368d942b8d9359242d8a7c53d68c4e4d6dee002b..aba759af2329aa808ac3e5ae2f8d8ccf94e4af75 100644 (file)
@@ -109,3 +109,4 @@ const HeaderTableRecord headerTable[] = {
     {"Other:", HDR_OTHER, field_type::ftStr},    /* ':' will not allow matches */
     {nullptr, HDR_BAD_HDR, field_type::ftInvalid}    /* end of table */
 };
+