Ignore:
Timestamp:
Oct 2, 2007, 2:35:02 PM (15 years ago)
Author:
charles
Message:
  • simplify the the choking intervals
  • fix peer-mgr destructor bug
  • send debugging messagese to TR_DEBUG_FD instead of the console
File:
1 edited

Legend:

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

    r3267 r3269  
    451451    {
    452452        case PEER_ENCRYPTION_NONE:
    453             /*fprintf( stderr, "writing %d plaintext bytes to outbuf...\n", byteCount );*/
    454453            evbuffer_add( outbuf, bytes, byteCount );
    455454            break;
    456455
    457456        case PEER_ENCRYPTION_RC4:
    458             /*fprintf( stderr, "encrypting and writing %d bytes to outbuf...\n", byteCount );*/
    459457            tmp = tr_new( uint8_t, byteCount );
    460458            tr_cryptoEncrypt( io->crypto, byteCount, bytes, tmp );
     
    505503    {
    506504        case PEER_ENCRYPTION_NONE:
    507             /*fprintf( stderr, "reading %d plaintext bytes from inbuf...\n", byteCount );*/
    508505            evbuffer_remove(  inbuf, bytes, byteCount );
    509506            break;
    510507
    511508        case PEER_ENCRYPTION_RC4:
    512             /*fprintf( stderr, "reading AND DECRYPTING %d bytes from inbuf...\n", byteCount );*/
    513509            evbuffer_remove(  inbuf, bytes, byteCount );
    514510            tr_cryptoDecrypt( io->crypto, byteCount, bytes, bytes );
Note: See TracChangeset for help on using the changeset viewer.