Ignore:
Timestamp:
Aug 8, 2008, 10:44:32 PM (13 years ago)
Author:
charles
Message:

back out the changes from r6415.

File:
1 edited

Legend:

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

    r6425 r6453  
    6969
    7070    tr_crypto           * crypto;
    71 
    72     uint64_t              fromPeer;
    7371};
    7472
     
    540538    {
    541539        case PEER_ENCRYPTION_NONE:
    542             io->fromPeer += evbuffer_remove( inbuf, bytes, byteCount );
     540            evbuffer_remove( inbuf, bytes, byteCount );
    543541            break;
    544542
    545543        case PEER_ENCRYPTION_RC4:
    546             io->fromPeer += evbuffer_remove( inbuf, bytes, byteCount );
     544            evbuffer_remove( inbuf, bytes, byteCount );
    547545            tr_cryptoDecrypt( io->crypto, byteCount, bytes, bytes );
    548546            break;
     
    596594    return time( NULL ) - io->timeCreated;
    597595}
    598 
    599 int64_t
    600 tr_peerIoCountBytesFromPeer( const tr_peerIo * io )
    601 {
    602     return io->fromPeer;
    603 }
    604 
Note: See TracChangeset for help on using the changeset viewer.