Changeset 9278


Ignore:
Timestamp:
Oct 10, 2009, 8:14:26 PM (12 years ago)
Author:
charles
Message:

(trunk libT) #2463 if at first you don't succeed...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/announcer.c

    r9259 r9278  
    16961696                if( tier->isScraping )
    16971697                    st->scrapeState = TR_TRACKER_ACTIVE;
    1698                 else if( tierNeedsToScrape( tier, now ) )
     1698                else if( tier->scrapeAt > now )
     1699                    st->scrapeState = TR_TRACKER_WAITING;
     1700                else
    16991701                    st->scrapeState = TR_TRACKER_QUEUED;
    1700                 else {
    1701                     st->scrapeState = TR_TRACKER_WAITING;
    1702                     st->nextScrapeTime = tier->scrapeAt;
    1703                 }
    17041702
    17051703                st->lastAnnounceStartTime = tier->lastAnnounceStartTime;
     
    17171715                else if( !torrent->isRunning )
    17181716                    st->announceState = TR_TRACKER_INACTIVE;
    1719                 else if( tierNeedsToAnnounce( tier, now ) )
     1717                else if( tier->announceAt > now )
     1718                    st->announceState = TR_TRACKER_WAITING;
     1719                else
    17201720                    st->announceState = TR_TRACKER_QUEUED;
    1721                 else {
    1722                     st->announceState = TR_TRACKER_WAITING;
    1723                     st->nextAnnounceTime = tier->announceAt;
    1724                 }
    17251721
    17261722                st->seederCount = tracker->seederCount;
Note: See TracChangeset for help on using the changeset viewer.