Changeset 9533


Ignore:
Timestamp:
Nov 21, 2009, 3:13:27 AM (13 years ago)
Author:
livings124
Message:

Display the proper seeder/leecher/download count for backup trackers, instead of all zeros.

Location:
trunk/libtransmission
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/announcer.c

    r9513 r9533  
    17231723            st->lastScrapeStartTime = tier->lastScrapeStartTime;
    17241724
     1725            st->seederCount = tracker->seederCount;
     1726            st->leecherCount = tracker->leecherCount;
     1727            st->downloadCount = tracker->downloadCount;
     1728
    17251729            if( st->isBackup )
    17261730            {
     
    17711775                else
    17721776                    st->announceState = TR_TRACKER_QUEUED;
    1773 
    1774                 st->seederCount = tracker->seederCount;
    1775                 st->leecherCount = tracker->leecherCount;
    1776                 st->downloadCount = tracker->downloadCount;
    17771777            }
    17781778        }
  • trunk/libtransmission/peer-mgr.c

    r9532 r9533  
    17931793    assert( tr_isTorrent( tor ) );
    17941794    assert( setme_pex != NULL );
    1795     assert( setme_pex != NULL );
    17961795    assert( af==TR_AF_INET || af==TR_AF_INET6 );
    17971796    assert( list_mode==TR_PEERS_CONNECTED || list_mode==TR_PEERS_ALL );
Note: See TracChangeset for help on using the changeset viewer.