mirror of
https://github.com/transmission/transmission
synced 2025-02-13 18:04:43 +00:00
drop two NSLogs
This commit is contained in:
parent
ba0cf184fb
commit
7a7636a872
1 changed files with 0 additions and 2 deletions
|
@ -573,11 +573,9 @@ int trashDataFile(const char * filename)
|
||||||
return YES;
|
return YES;
|
||||||
|
|
||||||
NSString * downloadFolder = [self currentDirectory];
|
NSString * downloadFolder = [self currentDirectory];
|
||||||
NSLog(@"%@", downloadFolder);
|
|
||||||
NSDictionary * systemAttributes;
|
NSDictionary * systemAttributes;
|
||||||
if ((systemAttributes = [[NSFileManager defaultManager] attributesOfFileSystemForPath: downloadFolder error: NULL]))
|
if ((systemAttributes = [[NSFileManager defaultManager] attributesOfFileSystemForPath: downloadFolder error: NULL]))
|
||||||
{
|
{
|
||||||
NSLog(@"%@", systemAttributes);
|
|
||||||
const uint64_t remainingSpace = [[systemAttributes objectForKey: NSFileSystemFreeSize] unsignedLongLongValue];
|
const uint64_t remainingSpace = [[systemAttributes objectForKey: NSFileSystemFreeSize] unsignedLongLongValue];
|
||||||
|
|
||||||
//if the remaining space is greater than the size left, then there is enough space regardless of preallocation
|
//if the remaining space is greater than the size left, then there is enough space regardless of preallocation
|
||||||
|
|
Loading…
Reference in a new issue