(trunk libT) yet another assertion commit

This commit is contained in:
Charles Kerr 2008-12-16 22:52:04 +00:00
parent 15ecde281b
commit 69b8caa93b
1 changed files with 5 additions and 5 deletions

View File

@ -1533,7 +1533,7 @@ tr_peerMgrGetPeers( tr_peerMgr * manager,
for( i=0; i<peersReturning; ++i )
assert( tr_isAddress( &pex[i].addr ) );
assert( ( walk - pex ) == peerCount );
assert( ( walk - pex ) == peersReturning );
qsort( pex, peersReturning, sizeof( tr_pex ), tr_pexCompare );
#warning this for loop can be removed when we're sure the bug is fixed