mirror of
https://github.com/transmission/transmission
synced 2025-02-03 21:12:05 +00:00
when checking the previous tracker address for the torrent creator, don't use a blank address
This commit is contained in:
parent
e44f96c88c
commit
3472851f80
2 changed files with 6 additions and 2 deletions
1
NEWS
1
NEWS
|
@ -15,6 +15,7 @@ http://trac.transmissionbt.com/query?group=component&milestone=1.33
|
|||
+ Fix small memory leaks
|
||||
- Mac
|
||||
+ Rephrase "data not fully available" to "remaining time unknown"
|
||||
+ Fix bug where torrent file creation would fail because an extra blank tracker addresses was inserted
|
||||
- Daemon
|
||||
+ Fix crash when adding nonexistent torrents via transmission-remote
|
||||
- GTK+
|
||||
|
|
|
@ -115,9 +115,12 @@
|
|||
NSString * tracker;
|
||||
if ((tracker = [fDefaults stringForKey: @"CreatorTracker"]))
|
||||
{
|
||||
[fTrackers addObject: tracker];
|
||||
[fDefaults removeObjectForKey: @"CreatorTracker"];
|
||||
[fDefaults setObject: fTrackers forKey: @"CreatorTrackers"];
|
||||
if (![tracker isEqualToString: @""])
|
||||
{
|
||||
[fTrackers addObject: tracker];
|
||||
[fDefaults setObject: fTrackers forKey: @"CreatorTrackers"];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue