Changeset 1158


Ignore:
Timestamp:
Dec 6, 2006, 3:40:48 AM (15 years ago)
Author:
livings124
Message:

logic fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/multitracker/libtransmission/tracker.c

    r1157 r1158  
    157157    tc->shouldChangeAnnounce = 1;
    158158   
     159    /* If more tiers then announce can definitely be changed */
     160    if( tc->announceTier + 1 < inf->trackerAnnounceTiers)
     161        return;
     162   
    159163    /* If there are no more trackers don't try to change the announce */
    160     if( tc->announceTier < inf->trackerAnnounceTiers)
    161         return;
    162    
    163164    announceItem = &inf->trackerAnnounceList[tc->announceTier];
    164165    for( i = 0; i <= tc->announceTierLast; i++ )
Note: See TracChangeset for help on using the changeset viewer.