Ignore:
Timestamp:
Feb 18, 2011, 12:36:21 AM (11 years ago)
Author:
jch
Message:

Remove debugging messages.

File:
1 edited

Legend:

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

    r11933 r11934  
    378378    assert( tr_isPeerIo( io ) );
    379379
    380     tr_ndbg( "UTP", "On read: %ld", (long)buflen );
    381 
    382380    rc = evbuffer_add( io->inbuf, buf, buflen );
    383381    if( rc < 0 ) {
     
    395393    tr_peerIo *io = (tr_peerIo *)closure;
    396394    int rc;
    397 
    398     assert( tr_isPeerIo( io ) );
    399     tr_ndbg( "UTP", "On write: %ld", (long)buflen );
     395    assert( tr_isPeerIo( io ) );
    400396
    401397    rc = evbuffer_remove( io->outbuf, buf, buflen );
     
    418414        bytes = 0;
    419415
    420     tr_ndbg( "UTP", "Get RB size %ld", (long)bytes);
    421 
    422416    return UTP_READ_BUFFER_SIZE - bytes;
    423417}
     
    428422    tr_peerIo *io = (tr_peerIo *)closure;
    429423    assert( tr_isPeerIo( io ) );
    430 
    431     tr_ndbg( "UTP", "On state change: %d", state );
    432424
    433425    if( state == UTP_STATE_CONNECT || state == UTP_STATE_WRITABLE ) {
     
    452444    assert( tr_isPeerIo( io ) );
    453445
    454     tr_ndbg( "UTP", "Error callback: %s", tr_strerror( errcode ) );
    455 
    456446    if( io->gotError ) {
    457447        errno = errcode;
     
    466456    assert( tr_isPeerIo( io ) );
    467457
    468     tr_ndbg( "UTP", "On overhead: %d %ld %d", (int)send, (long)count, type );
    469458    tr_bandwidthUsed( &io->bandwidth, send ? TR_UP : TR_DOWN,
    470459                      count, FALSE, tr_time_msec() );
Note: See TracChangeset for help on using the changeset viewer.