1
0
Fork 0
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:
Mitchell Livingston 2008-05-10 15:23:36 +00:00
parent 74f0e7d36c
commit cd9f885417

View file

@ -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