diff options
Diffstat (limited to 'src/ActivePeerConnectionCommand.cc')
| -rw-r--r-- | src/ActivePeerConnectionCommand.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ActivePeerConnectionCommand.cc b/src/ActivePeerConnectionCommand.cc index 2cf2441a..7e566b42 100644 --- a/src/ActivePeerConnectionCommand.cc +++ b/src/ActivePeerConnectionCommand.cc @@ -107,9 +107,9 @@ bool ActivePeerConnectionCommand::execute() int numConnection = 0; if (pieceStorage_->downloadFinished()) { if (btRuntime_->getMaxPeers() > btRuntime_->getConnections()) { - numConnection = std::min(numNewConnection_, - btRuntime_->getMaxPeers() - - btRuntime_->getConnections()); + numConnection = + std::min(numNewConnection_, btRuntime_->getMaxPeers() - + btRuntime_->getConnections()); } } else { |
