Ignore:
Timestamp:
Jan 14, 2009, 1:37:24 AM (12 years ago)
Author:
charles
Message:

(trunk libT) Remove tr_peerMgrHasConnections, it isn't used anywhere

File:
1 edited

Legend:

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

    r7710 r7712  
    16601660}
    16611661
    1662 int
    1663 tr_peerMgrHasConnections( const tr_peerMgr * manager,
    1664                           const uint8_t *    torrentHash )
    1665 {
    1666     int ret;
    1667     const Torrent * t;
    1668     managerLock( manager );
    1669 
    1670     t = getExistingTorrent( (tr_peerMgr*)manager, torrentHash );
    1671     ret = t && ( !tr_ptrArrayEmpty( &t->peers ) || !tr_ptrArrayEmpty( &t->webseeds ) );
    1672 
    1673     managerUnlock( manager );
    1674     return ret;
    1675 }
    1676 
    16771662void
    16781663tr_peerMgrTorrentStats( tr_torrent       * tor,
Note: See TracChangeset for help on using the changeset viewer.