Changeset 6569


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

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEWS

    r6547 r6569  
    1616- Mac
    1717   + Rephrase "data not fully available" to "remaining time unknown"
     18   + Fix bug where torrent file creation would fail because an extra blank tracker addresses was inserted
    1819- Daemon
    1920   + Fix crash when adding nonexistent torrents via transmission-remote
  • 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.