From f7ad4af518ebee2ff593eb3d1a15d8b63def13bc Mon Sep 17 00:00:00 2001 From: Francesco Chemolli Date: Tue, 4 Aug 2015 13:09:31 +0200 Subject: [PATCH] Source formatting --- src/HttpHeader.cc | 6 +++--- src/HttpHeaderFieldInfo.h | 2 +- src/http/RegisteredHeaders.cc | 1 + 3 files changed, 5 insertions(+), 4 deletions(-) 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 */ }; + -- 2.47.3