From: Mitchell Livingston Date: Sat, 9 Jan 2010 04:43:54 +0000 (+0000) Subject: even more logs! X-Git-Tag: 1.80b5~27 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c4cf9fd5bc9d2c28d29162a4d65641875da1451a;p=transmission even more logs! --- diff --git a/macosx/Torrent.m b/macosx/Torrent.m index f76483af8..eb29b1238 100644 --- a/macosx/Torrent.m +++ b/macosx/Torrent.m @@ -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])