Changeset 6163


Ignore:
Timestamp:
Jun 12, 2008, 4:28:39 PM (13 years ago)
Author:
charles
Message:

tr_peerMgrHasConnections(): take webseeds into account, as suggested by BentMyWookie?

File:
1 edited

Legend:

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

    r6143 r6163  
    13581358
    13591359    t = getExistingTorrent( (tr_peerMgr*)manager, torrentHash );
    1360     ret = t && tr_ptrArraySize( t->peers );
     1360    ret = t && ( !tr_ptrArrayEmpty( t->peers ) || !tr_ptrArrayEmpty( t->webseeds ) );
    13611361
    13621362    managerUnlock( manager );
Note: See TracChangeset for help on using the changeset viewer.