mirror of
https://github.com/nzbget/nzbget.git
synced 2026-05-19 10:34:28 -04:00
#131: wrapped function "remove" into module FileSystem
under name “DeleteFile”.
This commit is contained in:
@@ -622,7 +622,7 @@ Scanner::EAddStatus Scanner::AddExternalFile(const char* nzbName, const char* ca
|
||||
{
|
||||
error("Could not move file %s to %s: %s", *tempFileName, *scanFileName,
|
||||
*FileSystem::GetLastErrorMessage());
|
||||
remove(tempFileName);
|
||||
FileSystem::DeleteFile(tempFileName);
|
||||
m_scanMutex.Unlock(); // UNLOCK
|
||||
return asFailed;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user