Changeset 2314


Ignore:
Timestamp:
Jul 9, 2007, 11:27:57 PM (15 years ago)
Author:
charles
Message:

more assertion tests to tr_peerGotBlockFromUs() and tr_peerSentBlockToUs() to smoke out any remaining spurious ul/dl bytecounts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/peer.c

    r2313 r2314  
    829829
    830830    assert( byteCount >= 0 );
     831    assert( byteCount <= tor->info.pieceSize );
    831832
    832833    tor->downloadedCur += byteCount;
     
    845846
    846847    assert( byteCount >= 0 );
     848    assert( byteCount <= tor->info.pieceSize );
    847849
    848850    tor->uploadedCur += byteCount;
Note: See TracChangeset for help on using the changeset viewer.