From: Francesco Chemolli Date: Tue, 4 Aug 2015 11:09:31 +0000 (+0200) Subject: Source formatting X-Git-Tag: merge-candidate-3-v1~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f7ad4af518ebee2ff593eb3d1a15d8b63def13bc;p=thirdparty%2Fsquid.git Source formatting --- diff --git a/src/HttpHeader.cc b/src/HttpHeader.cc index fd211c8f77..ca07b609c3 100644 --- a/src/HttpHeader.cc +++ b/src/HttpHeader.cc @@ -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", diff --git a/src/HttpHeaderFieldInfo.h b/src/HttpHeaderFieldInfo.h index a1bd5b2a8c..065e967c0b 100644 --- a/src/HttpHeaderFieldInfo.h +++ b/src/HttpHeaderFieldInfo.h @@ -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. diff --git a/src/http/RegisteredHeaders.cc b/src/http/RegisteredHeaders.cc index 368d942b8d..aba759af23 100644 --- a/src/http/RegisteredHeaders.cc +++ b/src/http/RegisteredHeaders.cc @@ -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 */ }; +