mirror of
https://github.com/transmission/transmission
synced 2024-12-25 01:03:01 +00:00
even more logs!
This commit is contained in:
parent
f18fa22d53
commit
c4cf9fd5bc
1 changed files with 2 additions and 0 deletions
|
@ -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])
|
||||
|
|
Loading…
Reference in a new issue