1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-02-13 18:04:43 +00:00

drop two NSLogs

This commit is contained in:
Mitchell Livingston 2011-03-27 22:10:03 +00:00
parent ba0cf184fb
commit 7a7636a872

View file

@ -573,11 +573,9 @@ int trashDataFile(const char * filename)
return YES;
NSString * downloadFolder = [self currentDirectory];
NSLog(@"%@", downloadFolder);
NSDictionary * systemAttributes;
if ((systemAttributes = [[NSFileManager defaultManager] attributesOfFileSystemForPath: downloadFolder error: NULL]))
{
NSLog(@"%@", systemAttributes);
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