Changeset 6571


Ignore:
Timestamp:
Aug 18, 2008, 12:01:12 AM (13 years ago)
Author:
livings124
Message:

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

Location:
branches/1.3x
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/1.3x/NEWS

    r6545 r6571  
    1111- Mac
    1212   + Rephrase "data not fully available" to "remaining time unknown"
     13   + Fix bug where torrent file creation would fail because an extra blank tracker address was inserted
    1314- Daemon
    1415   + Fix crash when adding nonexistent torrents via transmission-remote
  • branches/1.3x/macosx/CreatorWindowController.m

    r6544 r6571  
    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.