Undo the reporting stats change in r2493, based on info from xiffix that Azureus does not do this for the tracker, and when uTorrent did, it provoked a ban.

This commit is contained in:
Charles Kerr 2007-07-25 17:38:05 +00:00
parent e8fb29ea44
commit c81f38360f
1 changed files with 0 additions and 7 deletions

View File

@ -350,13 +350,6 @@ static int parsePiece( tr_torrent_t * tor, tr_peer_t * peer,
/* Piece is complete, check it */
if( ( ret = tr_ioHash( tor->io, index ) ) )
{
/* Follow Azureus' and uTorrent's lead in not counting corrupt
pieces in our announce data, as it could give us a misleadingly
bad share ratio . (Ticket #263) */
const int byteCount = tr_pieceSize( index );
if( tor->downloadedCur >= (uint64_t)byteCount )
tor->downloadedCur -= byteCount;
return ret;
}
if( !tr_cpPieceIsComplete( tor->completion, index ) )