Changeset 5978


Ignore:
Timestamp:
May 30, 2008, 4:49:03 PM (14 years ago)
Author:
charles
Message:

add a couple of more ways to short-circuit the tr_stat.desiredAvailable test in tr_torrentStat(), as suggested by BentMyWookie?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/torrent.c

    r5976 r5978  
    742742
    743743
    744     if( !s->leftUntilDone )
     744    if( !s->leftUntilDone || !tor->isRunning || !s->peersConnected )
    745745        s->desiredAvailable = 0;
    746746    else {
Note: See TracChangeset for help on using the changeset viewer.