Changeset 7793


Ignore:
Timestamp:
Jan 24, 2009, 5:37:28 PM (12 years ago)
Author:
charles
Message:

(trunk libT) more of the same

File:
1 edited

Legend:

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

    r7792 r7793  
    171171    return ( io != NULL )
    172172        && ( io->magicNumber == MAGIC_NUMBER )
    173         && ( io->refCount > 0 )
     173        && ( io->refCount >= 0 )
    174174        && ( tr_isBandwidth( &io->bandwidth ) )
    175175        && ( tr_isAddress( &io->addr ) );
     
    455455    assert( tr_isPeerIo( io ) );
    456456
    457     dbgmsg( io, "%s:%d is incrementing the IO's refcount from %d to %d\n",
     457    dbgmsg( io, "%s:%d is incrementing the IO's refcount from %d to %d",
    458458                file, line, io->refCount, io->refCount+1 );
    459459
     
    466466    assert( tr_isPeerIo( io ) );
    467467
    468     dbgmsg( io, "%s:%d is decrementing the IO's refcount from %d to %d\n",
    469                 file, line, io->refCount, io->refCount+1 );
     468    dbgmsg( io, "%s:%d is decrementing the IO's refcount from %d to %d",
     469                file, line, io->refCount, io->refCount-1 );
    470470
    471471    if( !--io->refCount )
Note: See TracChangeset for help on using the changeset viewer.