Changeset 1159


Ignore:
Timestamp:
Dec 6, 2006, 4:58:47 AM (15 years ago)
Author:
livings124
Message:

Always use the first item in the sublist as the announce (avoids using a freed pointer).

File:
1 edited

Legend:

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

    r1158 r1159  
    316316                tc->announceTierLast = 0;
    317317                tc->announceTier++;
    318                
    319                 announceItem = &inf->trackerAnnounceList[tc->announceTier];
    320318            }
    321319           
    322             setAnnounce( tc, announceItem );
     320            setAnnounce( tc, &inf->trackerAnnounceList[tc->announceTier] );
    323321           
    324322            tc->shouldChangeAnnounce = 0;
Note: See TracChangeset for help on using the changeset viewer.