mirror of
https://github.com/transmission/transmission
synced 2024-12-25 01:03:01 +00:00
perhaps avoid a rare crash when removing transfers
This commit is contained in:
parent
74f0e7d36c
commit
cd9f885417
1 changed files with 1 additions and 1 deletions
|
@ -720,7 +720,7 @@ void completenessChangeCallback(tr_torrent * torrent, cp_status_t status, void *
|
|||
|
||||
- (NSString *) trackerAddressAnnounce
|
||||
{
|
||||
return [NSString stringWithUTF8String: fStat->tracker->announce];
|
||||
return fStat->tracker->announce ? [NSString stringWithUTF8String: fStat->tracker->announce] : nil;
|
||||
}
|
||||
|
||||
- (NSDate *) lastAnnounceTime
|
||||
|
|
Loading…
Reference in a new issue