Changeset 10199


Ignore:
Timestamp:
Feb 14, 2010, 5:34:03 AM (12 years ago)
Author:
charles
Message:

(trunk libT) more improvements to tr_announcerResetTorrent()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/announcer.c

    r10198 r10199  
    401401    tr_bool isAnnouncing;
    402402    tr_bool isScraping;
     403    tr_bool wasCopied;
    403404
    404405    char lastAnnounceStr[128];
     
    868869                    t->currentTracker = item;
    869870                    t->currentTrackerIndex = k;
     871                    t->wasCopied = TRUE;
    870872                    trackerItemCopyAttributes( item, o->currentTracker );
    871873                    dbgmsg( t, "attributes copied to tier %d, tracker %d"
     
    886888        for( i=0; i<n; ++i ) {
    887889            tr_tier * tier = tiers[i];
    888             if( !tier->isRunning )   
     890            if( !tier->wasCopied )   
    889891                tierAddAnnounce( tier, STARTED, now );
    890892        }
Note: See TracChangeset for help on using the changeset viewer.