Changeset 2496
- Timestamp:
- Jul 25, 2007, 5:38:05 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libtransmission/peerparse.h
r2495 r2496 351 351 if( ( ret = tr_ioHash( tor->io, index ) ) ) 352 352 { 353 /* Follow Azureus' and uTorrent's lead in not counting corrupt354 pieces in our announce data, as it could give us a misleadingly355 bad share ratio . (Ticket #263) */356 const int byteCount = tr_pieceSize( index );357 if( tor->downloadedCur >= (uint64_t)byteCount )358 tor->downloadedCur -= byteCount;359 360 353 return ret; 361 354 }
Note: See TracChangeset
for help on using the changeset viewer.