Changeset 7422


Ignore:
Timestamp:
Dec 16, 2008, 10:52:04 PM (12 years ago)
Author:
charles
Message:

(trunk libT) yet another assertion commit

File:
1 edited

Legend:

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

    r7421 r7422  
    14851485
    14861486int
    1487 tr_peerMgrGetPeers( tr_peerMgr    * manager,
    1488                     const uint8_t * torrentHash,
    1489                     tr_pex       ** setme_pex,
    1490                     uint8_t         af)
     1487tr_peerMgrGetPeers( tr_peerMgr      * manager,
     1488                    const uint8_t   * torrentHash,
     1489                    tr_pex         ** setme_pex,
     1490                    uint8_t           af)
    14911491{
    14921492    int peerCount = 0;
     
    15341534            assert( tr_isAddress( &pex[i].addr ) );
    15351535
    1536         assert( ( walk - pex ) == peerCount );
     1536        assert( ( walk - pex ) == peersReturning );
    15371537        qsort( pex, peersReturning, sizeof( tr_pex ), tr_pexCompare );
    15381538
Note: See TracChangeset for help on using the changeset viewer.