Ignore:
Timestamp:
Aug 17, 2008, 10:50:02 PM (13 years ago)
Author:
livings124
Message:

when checking the previous tracker address for the torrent creator, don't use a blank address

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/CreatorWindowController.m

    r6526 r6569  
    116116            if ((tracker = [fDefaults stringForKey: @"CreatorTracker"]))
    117117            {
    118                 [fTrackers addObject: tracker];
    119118                [fDefaults removeObjectForKey: @"CreatorTracker"];
    120                 [fDefaults setObject: fTrackers forKey: @"CreatorTrackers"];
     119                if (![tracker isEqualToString: @""])
     120                {
     121                    [fTrackers addObject: tracker];
     122                    [fDefaults setObject: fTrackers forKey: @"CreatorTrackers"];
     123                }
    121124            }
    122125        }
Note: See TracChangeset for help on using the changeset viewer.