actually return the array of flat trackers from the corresponding method

This commit is contained in:
Mitchell Livingston 2009-09-27 15:49:33 +00:00
parent a2b8588206
commit 4284d1fa23
1 changed files with 3 additions and 1 deletions

View File

@ -769,8 +769,10 @@ int trashDataFile(const char * filename)
{
NSMutableArray * allTrackers = [NSMutableArray arrayWithCapacity: fInfo->trackerCount];
for (NSInteger i = 0, tier = -1; i < fInfo->trackerCount; i++)
for (NSInteger i=0; i < fInfo->trackerCount; i++)
[allTrackers addObject: [NSString stringWithUTF8String: fInfo->trackers[i].announce]];
return allTrackers;
}
/*- (BOOL) updateAllTrackersForAdd: (NSMutableArray *) trackers