mirror of
https://github.com/transmission/transmission
synced 2024-12-26 09:37:56 +00:00
retain previous announce/scrape info when a tracker becomes a backup
This commit is contained in:
parent
f58994b7bf
commit
4290927563
1 changed files with 0 additions and 13 deletions
|
@ -1667,23 +1667,10 @@ tr_announcerStats( const tr_torrent * torrent,
|
|||
|
||||
if( st->isBackup )
|
||||
{
|
||||
st->hasScraped = FALSE;
|
||||
st->lastScrapeTime = 0;
|
||||
st->lastScrapeSucceeded = FALSE;
|
||||
st->lastScrapeResult[0] = '\0';
|
||||
st->scrapeState = TR_TRACKER_INACTIVE;
|
||||
st->announceState = TR_TRACKER_INACTIVE;
|
||||
st->nextScrapeTime = 0;
|
||||
st->lastAnnounceStartTime = 0;
|
||||
st->hasAnnounced = 0;
|
||||
st->lastAnnounceTime = 0;
|
||||
st->lastAnnounceResult[0] = '\0';
|
||||
st->lastAnnounceSucceeded = FALSE;
|
||||
st->lastAnnouncePeerCount = 0;
|
||||
st->nextAnnounceTime = 0;
|
||||
st->seederCount = 0;
|
||||
st->leecherCount = 0;
|
||||
st->downloadCount = 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue