From: Source Maintenance Date: Fri, 9 Jun 2017 06:12:19 +0000 (+0000) Subject: SourceFormat Enforcement X-Git-Tag: M-staged-PR71~131 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d22511f975a8905c4f51212c76d21238352fd062;p=thirdparty%2Fsquid.git SourceFormat Enforcement --- diff --git a/src/PeerSelectState.h b/src/PeerSelectState.h index b1744c4683..6025d5bb15 100644 --- a/src/PeerSelectState.h +++ b/src/PeerSelectState.h @@ -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. diff --git a/src/comm/Connection.cc b/src/comm/Connection.cc index 73da9cb878..7ec795b5cf 100644 --- a/src/comm/Connection.cc +++ b/src/comm/Connection.cc @@ -169,3 +169,4 @@ operator << (std::ostream &os, const Comm::Connection &conn) #endif return os; } + diff --git a/src/peer_select.cc b/src/peer_select.cc index baae98814b..190fb55f69 100644 --- a/src/peer_select.cc +++ b/src/peer_select.cc @@ -994,7 +994,7 @@ bool ps_state::wantsMoreDestinations() const { const auto maxCount = Config.forward_max_tries; return maxCount >= 0 && foundPaths < - static_cast::type>(maxCount); + static_cast::type>(maxCount); } void diff --git a/src/tests/stub_comm.cc b/src/tests/stub_comm.cc index 2d465bbf9a..ebf658dc6e 100644 --- a/src/tests/stub_comm.cc +++ b/src/tests/stub_comm.cc @@ -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) + diff --git a/src/tests/stub_libcomm.cc b/src/tests/stub_libcomm.cc index ac65389694..4078b5a8c0 100644 --- a/src/tests/stub_libcomm.cc +++ b/src/tests/stub_libcomm.cc @@ -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]") +