Changeset 10473


Ignore:
Timestamp:
Apr 13, 2010, 12:20:04 AM (12 years ago)
Author:
livings124
Message:

use leftUntilDone instead of percentDone when determining finished status

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/torrent.c

    r10437 r10473  
    10531053    }
    10541054
    1055     s->finished = s->percentDone == 1.0 && checkSeedRatio && (s->ratio >= seedRatio || s->ratio == TR_RATIO_INF);
     1055    s->finished = !s->leftUntilDone && checkSeedRatio && (s->ratio >= seedRatio || s->ratio == TR_RATIO_INF);
    10561056
    10571057    if( !checkSeedRatio || s->ratio >= seedRatio || s->ratio == TR_RATIO_INF )
Note: See TracChangeset for help on using the changeset viewer.