]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
SourceFormat Enforcement
authorAutomatic source maintenance <squidadm@squid-cache.org>
Wed, 11 Apr 2012 00:15:57 +0000 (18:15 -0600)
committerAutomatic source maintenance <squidadm@squid-cache.org>
Wed, 11 Apr 2012 00:15:57 +0000 (18:15 -0600)
src/StoreSwapLogData.cc
src/StoreSwapLogData.h
src/fs/ufs/ufscommon.cc

index 5adb2ad9eaa90bdb7df8e01b0b3aeaa798549b66..4fe40598a6708bff9a5f710187cf75bdb86f4e6f 100644 (file)
@@ -46,7 +46,7 @@ SwapChecksum24::set(uint32_t f1, uint32_t f2, uint32_t f3)
     sum += f3;
 
     while (const uint64_t higherBits = sum >> 24)
-       sum = (sum & 0xFFFFFF) + higherBits;
+        sum = (sum & 0xFFFFFF) + higherBits;
 
     sum = ~sum;
 
@@ -103,7 +103,7 @@ StoreSwapLogData::finalize()
 }
 
 StoreSwapLogHeader::StoreSwapLogHeader(): op(SWAP_LOG_VERSION), version(2),
-    record_size(sizeof(StoreSwapLogData))
+        record_size(sizeof(StoreSwapLogData))
 {
     checksum.set(version, record_size, 0);
 }
index fbcae3eca0e2850ea2421913369032e5d7f23587..de112be7059f10728735e65a86a1fa1b228afdd5 100644 (file)
 #include "squid-old.h"
 
 /// maintains a 24-bit checksum over integer fields
-class SwapChecksum24 {
+class SwapChecksum24
+{
 public:
     SwapChecksum24() { raw[0] = raw[1] = raw[2] = 0; }
 
-       bool operator ==(const SwapChecksum24 &o) const {
+    bool operator ==(const SwapChecksum24 &o) const {
         return raw[0] == o.raw[0] && raw[1] == o.raw[1] && raw[2] == o.raw[2];
     }
 
-       bool operator !=(const SwapChecksum24 &o) const {
+    bool operator !=(const SwapChecksum24 &o) const {
         return !(*this == o);
     }
 
index 827918091c51b6f1cd2a7230b6a03b7edcb427ea..266715e7f54ab34d9801b5aaa75a69420a847eb6 100644 (file)
@@ -366,7 +366,7 @@ RebuildState::RebuildState (RefCount<UFSSwapDir> aSwapDir) : sd (aSwapDir),LogPa
         flags.need_to_validate = 1;
 
     debugs(47, DBG_IMPORTANT, "Rebuilding storage in " << sd->path << " (" <<
-        (clean ? "clean log" : (LogParser ? "dirty log" : "no log")) << ")");
+           (clean ? "clean log" : (LogParser ? "dirty log" : "no log")) << ")");
 }
 
 RebuildState::~RebuildState()