diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2010-01-05 16:01:46 +0000 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2010-01-05 16:01:46 +0000 |
| commit | 4db349c1f32b4a313d12d114137432441633d00a (patch) | |
| tree | 417451971e264834312cfd8339c79930d680a5d1 /src/PeerInteractionCommand.cc | |
| parent | 338e8aca09331d3e7fa4e1e8e1f9d10260986772 (diff) | |
2010-01-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Untabify. Fixed one line in copyright which is longer than 80
columns.
* src
* test
Diffstat (limited to 'src/PeerInteractionCommand.cc')
| -rw-r--r-- | src/PeerInteractionCommand.cc | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/PeerInteractionCommand.cc b/src/PeerInteractionCommand.cc index 2d8d4e2b..7df1c75a 100644 --- a/src/PeerInteractionCommand.cc +++ b/src/PeerInteractionCommand.cc @@ -16,7 +16,7 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * * In addition, as a special exception, the copyright holders give * permission to link the code of portions of this program with the @@ -237,7 +237,7 @@ PeerInteractionCommand::PeerInteractionCommand PeerInteractionCommand::~PeerInteractionCommand() { if(peer->getCompletedLength() > 0) { _pieceStorage->subtractPieceStats(peer->getBitfield(), - peer->getBitfieldLength()); + peer->getBitfieldLength()); } peer->releaseSessionResource(); @@ -265,7 +265,7 @@ bool PeerInteractionCommand::executeInternal() { if(btInteractive->countPendingMessage() > 0) { btInteractive->sendPendingMessage(); if(btInteractive->countPendingMessage() > 0) { - break; + break; } } BtMessageHandle handshakeMessage = btInteractive->receiveHandshake(); @@ -299,15 +299,15 @@ bool PeerInteractionCommand::executeInternal() { // Writable check to avoid slow seeding if(btInteractive->isSendingMessageInProgress()) { - setWriteCheckSocket(socket); + setWriteCheckSocket(socket); } if(e->_requestGroupMan->doesOverallDownloadSpeedExceed() || - _requestGroup->doesDownloadSpeedExceed()) { - disableReadCheckSocket(); - setNoCheck(true); + _requestGroup->doesDownloadSpeedExceed()) { + disableReadCheckSocket(); + setNoCheck(true); } else { - setReadCheckSocket(socket); + setReadCheckSocket(socket); } } else { disableReadCheckSocket(); |
