Ignore:
Timestamp:
Jun 25, 2010, 3:39:17 PM (12 years ago)
Author:
charles
Message:

(trunk libT) #3320 "If the seed ratio is already met" -- fix a bug in r10848 reported by BMW

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/torrent.c

    r10848 r10851  
    16171617fireCompletenessChange( tr_torrent       * tor,
    16181618                        tr_completeness    status,
    1619                         tr_bool            wasPaused )
     1619                        tr_bool            wasRunning )
    16201620{
    16211621    assert( tr_isTorrent( tor ) );
     
    16251625
    16261626    if( tor->completeness_func )
    1627         tor->completeness_func( tor, status, wasPaused,
     1627        tor->completeness_func( tor, status, wasRunning,
    16281628                                tor->completeness_func_user_data );
    16291629}
     
    17051705tr_torrentRecheckCompleteness( tr_torrent * tor )
    17061706{
    1707     tr_bool wasPaused;
     1707    tr_bool wasRunning;
    17081708    tr_completeness completeness;
    17091709
     
    17131713
    17141714    completeness = tr_cpGetStatus( &tor->completion );
    1715     wasPaused = tor->isRunning;
     1715    wasRunning = tor->isRunning;
    17161716
    17171717    if( completeness != tor->completeness )
     
    17461746        }
    17471747
    1748         fireCompletenessChange( tor, wasPaused, completeness );
     1748        fireCompletenessChange( tor, wasRunning, completeness );
    17491749
    17501750        tr_torrentSetDirty( tor );
Note: See TracChangeset for help on using the changeset viewer.