mirror of
https://github.com/transmission/transmission
synced 2025-02-20 13:16:53 +00:00
bad nslog!
This commit is contained in:
parent
b252a98c13
commit
8c8993ce97
1 changed files with 2 additions and 2 deletions
|
@ -1149,11 +1149,11 @@ static void sleepCallBack(void * controller, io_service_t y,
|
|||
NSString * path = [[fDefaults stringForKey: @"AutoImportDirectory"] stringByExpandingTildeInPath];
|
||||
|
||||
//if folder cannot be found or the contents hasn't changed simply give up
|
||||
NSArray * allFileNames;NSLog(@"first");
|
||||
NSArray * allFileNames;
|
||||
if (!(allFileNames = [[NSFileManager defaultManager] directoryContentsAtPath: path])
|
||||
|| [allFileNames isEqualToArray: fAutoImportedNames])
|
||||
return;
|
||||
NSLog(@"here!");
|
||||
|
||||
//try to add files that haven't already been added
|
||||
NSMutableArray * newFileNames = [NSMutableArray arrayWithArray: allFileNames];
|
||||
[newFileNames removeObjectsInArray: fAutoImportedNames];
|
||||
|
|
Loading…
Reference in a new issue