mirror of
https://github.com/transmission/transmission
synced 2024-12-25 01:03:01 +00:00
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:
parent
e8fb29ea44
commit
c81f38360f
1 changed files with 0 additions and 7 deletions
|
@ -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 ) )
|
||||
|
|
Loading…
Reference in a new issue