mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 12:28:52 +00:00
some tidying up
This commit is contained in:
@@ -1871,8 +1871,7 @@ static void sleepCallBack(void * controller, io_service_t y, natural_t messageTy
|
||||
if (!(importedNames = [[NSFileManager defaultManager] directoryContentsAtPath: path]))
|
||||
return;
|
||||
|
||||
//only import those that have not been imported yet
|
||||
#warning no mutable array
|
||||
//only check files that have not been checked yet
|
||||
NSMutableArray * newNames = [importedNames mutableCopy];
|
||||
[newNames removeObjectsInArray: fAutoImportedNames];
|
||||
[fAutoImportedNames setArray: importedNames];
|
||||
|
||||
Reference in New Issue
Block a user