]> granicus.if.org Git - transmission/commitdiff
even more logs!
authorMitchell Livingston <livings124@transmissionbt.com>
Sat, 9 Jan 2010 04:43:54 +0000 (04:43 +0000)
committerMitchell Livingston <livings124@transmissionbt.com>
Sat, 9 Jan 2010 04:43:54 +0000 (04:43 +0000)
macosx/Torrent.m

index f76483af8eef5780f7e65e5a5f2a2e48ba1cf7a4..eb29b12380c00a600cb31deda11c22bdfc08c9ba 100644 (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])