Changeset 10140


Ignore:
Timestamp:
Feb 8, 2010, 1:59:13 PM (12 years ago)
Author:
charles
Message:

(trunk libT) remove dead code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/peer-msgs.c

    r10047 r10140  
    15731573    msgs->state = AWAITING_BT_LENGTH;
    15741574    return READ_NOW;
    1575 }
    1576 
    1577 static inline void
    1578 decrementDownloadedCount( tr_peermsgs * msgs, uint32_t byteCount )
    1579 {
    1580     tr_torrent * tor = msgs->torrent;
    1581 
    1582     tor->downloadedCur -= MIN( tor->downloadedCur, byteCount );
    1583 }
    1584 
    1585 static inline void
    1586 clientGotUnwantedBlock( tr_peermsgs * msgs, const struct peer_request * req )
    1587 {
    1588     decrementDownloadedCount( msgs, req->length );
    15891575}
    15901576
Note: See TracChangeset for help on using the changeset viewer.