diff options
Diffstat (limited to 'src/BtHaveAllMessage.cc')
| -rw-r--r-- | src/BtHaveAllMessage.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/BtHaveAllMessage.cc b/src/BtHaveAllMessage.cc index 8ccf7acc..05af1954 100644 --- a/src/BtHaveAllMessage.cc +++ b/src/BtHaveAllMessage.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 @@ -54,13 +54,13 @@ void BtHaveAllMessage::doReceivedAction() if(!peer->isFastExtensionEnabled()) { throw DL_ABORT_EX (StringFormat("%s received while fast extension is disabled", - toString().c_str()).str()); + toString().c_str()).str()); } if(_metadataGetMode) { return; } pieceStorage->subtractPieceStats(peer->getBitfield(), - peer->getBitfieldLength()); + peer->getBitfieldLength()); peer->setAllBitfield(); pieceStorage->addPieceStats(peer->getBitfield(), peer->getBitfieldLength()); if(peer->isSeeder() && pieceStorage->downloadFinished()) { |
