Changeset 9281


Ignore:
Timestamp:
Oct 10, 2009, 8:46:24 PM (12 years ago)
Author:
livings124
Message:

retain previous announce/scrape info when a tracker becomes a backup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/announcer.c

    r9279 r9281  
    16681668            if( st->isBackup )
    16691669            {
    1670                 st->hasScraped = FALSE;
    1671                 st->lastScrapeTime = 0;
    1672                 st->lastScrapeSucceeded = FALSE;
    1673                 st->lastScrapeResult[0] = '\0';
    16741670                st->scrapeState = TR_TRACKER_INACTIVE;
    16751671                st->announceState = TR_TRACKER_INACTIVE;
    16761672                st->nextScrapeTime = 0;
    1677                 st->lastAnnounceStartTime = 0;
    1678                 st->hasAnnounced = 0;
    1679                 st->lastAnnounceTime = 0;
    1680                 st->lastAnnounceResult[0] = '\0';
    1681                 st->lastAnnounceSucceeded = FALSE;
    1682                 st->lastAnnouncePeerCount = 0;
    16831673                st->nextAnnounceTime = 0;
    1684                 st->seederCount = 0;
    1685                 st->leecherCount = 0;
    1686                 st->downloadCount = 0;
    16871674            }
    16881675            else
Note: See TracChangeset for help on using the changeset viewer.