(trunk libT) yet another assertion commit
This commit is contained in:
parent
15ecde281b
commit
69b8caa93b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue