From 78d83b063d4335608e5394294bc664438c6aed36 Mon Sep 17 00:00:00 2001 From: Mitchell Livingston Date: Thu, 28 Sep 2006 16:54:44 +0000 Subject: [PATCH] a little more detailed log to save time converting bytes --- macosx/Torrent.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/macosx/Torrent.m b/macosx/Torrent.m index 902f851c3..81a747a4e 100644 --- a/macosx/Torrent.m +++ b/macosx/Torrent.m @@ -423,8 +423,8 @@ static uint32_t kRed = BE(0xFF6450FF), //255, 100, 80 uint64_t remainingSpace = [[fsAttributes objectForKey: NSFileSystemFreeSize] unsignedLongLongValue], torrentRemaining = [self size] * (uint64_t)(1.0 - [self progress]); - NSLog(@"Remaining disk space: %qu", remainingSpace); - NSLog(@"Torrent remaining size: %qu", torrentRemaining); + NSLog(@"Remaining disk space: %qu (%@)", remainingSpace, [NSString stringForFileSize: remainingSpace]); + NSLog(@"Torrent remaining size: %qu (%@)", torrentRemaining, [NSString stringForFileSize: torrentRemaining]); if (remainingSpace <= torrentRemaining) {