1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-25 01:03:01 +00:00

even more logs!

This commit is contained in:
Mitchell Livingston 2010-01-09 04:43:54 +00:00
parent f18fa22d53
commit c4cf9fd5bc

View file

@ -587,6 +587,7 @@ int trashDataFile(const char * filename)
{
int count;
tr_tracker_stat * stats = tr_torrentTrackers(fHandle, &count);
NSLog(@"count from tr_torrentTrackers: %d", count);
NSMutableArray * trackers = [NSMutableArray arrayWithCapacity: (count > 0 ? count + stats[count-1].tier : 0)];
@ -649,6 +650,7 @@ int trashDataFile(const char * filename)
//recreate the tracker structure
tr_tracker_info * trackerStructs = tr_new(tr_tracker_info, [indexes count]);
NSLog(@"count from fInfo: %d", fInfo->trackerCount);
int newCount = 0;
for (NSUInteger oldIndex = [indexes firstIndex]; oldIndex != NSNotFound; oldIndex = [indexes indexGreaterThanIndex: oldIndex])