mirror of
https://github.com/transmission/transmission
synced 2024-12-27 18:18:10 +00:00
disable some logs
This commit is contained in:
parent
c3992fde5e
commit
594644c2f2
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue