]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
SourceFormat Enforcement
authorSource Maintenance <squidadm@squid-cache.org>
Fri, 9 Jun 2017 06:12:19 +0000 (06:12 +0000)
committerSource Maintenance <squidadm@squid-cache.org>
Fri, 9 Jun 2017 06:12:19 +0000 (06:12 +0000)
src/PeerSelectState.h
src/comm/Connection.cc
src/peer_select.cc
src/tests/stub_comm.cc
src/tests/stub_libcomm.cc

index b1744c468324917c2949865b15f2500ed98d646a..6025d5bb1517d705a3494c94fc1c8eb337004f93 100644 (file)
@@ -41,7 +41,7 @@ public:
     /// whether noteDestination() and noteDestinationsEnd() calls are allowed
     bool subscribed = false;
 
-/* protected: */
+    /* protected: */
     /// Initiates asynchronous peer selection that eventually
     /// results in zero or more noteDestination() calls and
     /// exactly one noteDestinationsEnd() call.
index 73da9cb8782fb3db89d5d9cf585d0f0ca10e33bb..7ec795b5cf4c7a61541b8c1623ba3f8e5b7ee706 100644 (file)
@@ -169,3 +169,4 @@ operator << (std::ostream &os, const Comm::Connection &conn)
 #endif
     return os;
 }
+
index baae98814bb463e9fb5587502de1ecb64e180f82..190fb55f699fbafc0685f7c7b67fa00bd1f1b9dd 100644 (file)
@@ -994,7 +994,7 @@ bool
 ps_state::wantsMoreDestinations() const {
     const auto maxCount = Config.forward_max_tries;
     return maxCount >= 0 && foundPaths <
-        static_cast<std::make_unsigned<decltype(maxCount)>::type>(maxCount);
+           static_cast<std::make_unsigned<decltype(maxCount)>::type>(maxCount);
 }
 
 void
index 2d465bbf9a994b0c75cbfc46d5d86f14977ec8cc..ebf658dc6ee030be662f3cee1aae7d50996d8e26 100644 (file)
@@ -70,3 +70,4 @@ bool comm_has_incomplete_write(int) STUB_RETVAL(false)
 void commStartHalfClosedMonitor(int fd) STUB
 bool commHasHalfClosedMonitor(int fd) STUB_RETVAL(false)
 int CommSelectEngine::checkEvents(int timeout) STUB_RETVAL(0)
+
index ac653896943bb8d62d5550ef6d7c8774e3416b21..4078b5a8c0134cd57d4912520c835165366e9548 100644 (file)
@@ -80,3 +80,4 @@ void Comm::WriteCancel(const Comm::ConnectionPointer &conn, const char *reason)
 /*PF*/ void Comm::HandleWrite(int, void*) STUB
 
 std::ostream &operator << (std::ostream &os, const Comm::Connection &conn) STUB_RETVAL(os << "[Connection object]")
+