mirror of
https://github.com/transmission/transmission.git
synced 2026-05-08 09:39:08 +01:00
a little safety for when trackerless torrent support is added
This commit is contained in:
+1
-1
@@ -826,7 +826,7 @@ int trashDataFile(const char * filename)
|
||||
- (void) updateAllTrackersForRemove: (NSMutableArray *) trackers
|
||||
{
|
||||
//check if no user-added groups
|
||||
if ([[trackers objectAtIndex: 0] intValue] != 0)
|
||||
if ([trackers size] == 0 || [[trackers objectAtIndex: 0] intValue] != 0)
|
||||
fAddedTrackers = NO;
|
||||
|
||||
[self updateAllTrackers: trackers];
|
||||
|
||||
Reference in New Issue
Block a user