1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-27 18:18:10 +00:00

disable some logs

This commit is contained in:
Mitchell Livingston 2006-10-29 17:41:45 +00:00
parent c3992fde5e
commit 594644c2f2

View file

@ -480,9 +480,9 @@ static uint32_t kRed = BE(0xFF6450FF), //255, 100, 80
uint64_t remainingSpace = [[fsAttributes objectForKey: NSFileSystemFreeSize] unsignedLongLongValue], uint64_t remainingSpace = [[fsAttributes objectForKey: NSFileSystemFreeSize] unsignedLongLongValue],
torrentRemaining = [self size] - (uint64_t)[self downloadedValid]; torrentRemaining = [self size] - (uint64_t)[self downloadedValid];
NSLog(@"Volume: %@", volume); /*NSLog(@"Volume: %@", volume);
NSLog(@"Remaining disk space: %qu (%@)", remainingSpace, [NSString stringForFileSize: remainingSpace]); NSLog(@"Remaining disk space: %qu (%@)", remainingSpace, [NSString stringForFileSize: remainingSpace]);
NSLog(@"Torrent remaining size: %qu (%@)", torrentRemaining, [NSString stringForFileSize: torrentRemaining]); NSLog(@"Torrent remaining size: %qu (%@)", torrentRemaining, [NSString stringForFileSize: torrentRemaining]);*/
if (volume && remainingSpace <= torrentRemaining) if (volume && remainingSpace <= torrentRemaining)
{ {