Changeset 949


Ignore:
Timestamp:
Sep 28, 2006, 4:54:44 PM (15 years ago)
Author:
livings124
Message:

a little more detailed log to save time converting bytes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Torrent.m

    r948 r949  
    424424            torrentRemaining = [self size] * (uint64_t)(1.0 - [self progress]);
    425425   
    426     NSLog(@"Remaining disk space: %qu", remainingSpace);
    427     NSLog(@"Torrent remaining size: %qu", torrentRemaining);
     426    NSLog(@"Remaining disk space: %qu (%@)", remainingSpace, [NSString stringForFileSize: remainingSpace]);
     427    NSLog(@"Torrent remaining size: %qu (%@)", torrentRemaining, [NSString stringForFileSize: torrentRemaining]);
    428428   
    429429    if (remainingSpace <= torrentRemaining)
Note: See TracChangeset for help on using the changeset viewer.