- Timestamp:
- Jan 24, 2009, 5:37:28 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libtransmission/peer-io.c
r7792 r7793 171 171 return ( io != NULL ) 172 172 && ( io->magicNumber == MAGIC_NUMBER ) 173 && ( io->refCount > 0 )173 && ( io->refCount >= 0 ) 174 174 && ( tr_isBandwidth( &io->bandwidth ) ) 175 175 && ( tr_isAddress( &io->addr ) ); … … 455 455 assert( tr_isPeerIo( io ) ); 456 456 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", 458 458 file, line, io->refCount, io->refCount+1 ); 459 459 … … 466 466 assert( tr_isPeerIo( io ) ); 467 467 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 ); 470 470 471 471 if( !--io->refCount )
Note: See TracChangeset
for help on using the changeset viewer.