Ignore:
Timestamp:
Apr 15, 2010, 1:43:54 PM (12 years ago)
Author:
charles
Message:

(trunk libT) #1869 "new status for torrents that reach seed ratio" -- possible fix for the bug reported by leena

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/torrent.c

    r10480 r10483  
    203203    {
    204204        tor->ratioLimitMode = mode;
    205         tor->needsSeedRatioCheck = TRUE;
    206205
    207206        tr_torrentSetDirty( tor );
     
    225224    {
    226225        tor->desiredRatio = desiredRatio;
    227 
    228         tor->needsSeedRatioCheck = TRUE;
    229226
    230227        tr_torrentSetDirty( tor );
     
    322319    assert( tr_isTorrent( tor ) );
    323320
    324     /* if we're seeding and we've reached our seed ratio limit, stop the torrent */
     321    /* if we're seeding and reach our seed ratio limit, stop the torrent */
    325322    if( tor->isRunning && tr_torrentIsSeedRatioDone( tor ) )
    326323    {
     
    13951392        const time_t now = tr_time( );
    13961393        tor->isRunning = TRUE;
    1397         tor->needsSeedRatioCheck = TRUE;
    13981394        tor->error = TR_STAT_OK;
    13991395        tor->errorString[0] = '\0';
     
    17141710
    17151711        tor->completeness = completeness;
    1716         tor->needsSeedRatioCheck = TRUE;
    17171712        tr_fdTorrentClose( tor->session, tor->uniqueId );
    17181713
     
    18971892
    18981893    tr_cpInvalidateDND( &tor->completion );
    1899     tor->needsSeedRatioCheck = TRUE;
    19001894
    19011895    tr_torrentUnlock( tor );
Note: See TracChangeset for help on using the changeset viewer.