Changeset 9225


Ignore:
Timestamp:
Sep 30, 2009, 12:11:24 AM (12 years ago)
Author:
livings124
Message:

fix a glitch with using the same address more than once in the tracker removal code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/InfoWindowController.m

    r9224 r9225  
    17201720        if ([item isKindOfClass: [NSNumber class]])
    17211721        {
    1722             for (NSInteger j = i+1; j < [fTrackers count] && ![[fTrackers objectAtIndex: j] isKindOfClass: [NSNumber class]]; ++j, ++i)
    1723                 [addresses addObject: [fTrackers objectAtIndex: j]];
     1722            ++i;
     1723            for (NSInteger j = i; j < [fTrackers count] && ![[fTrackers objectAtIndex: j] isKindOfClass: [NSNumber class]]; ++j, ++i)
     1724                [addresses addObject: [[fTrackers objectAtIndex: j] fullAnnounceAddress]];
    17241725            --i;
    17251726        }
Note: See TracChangeset for help on using the changeset viewer.