closes #147: par-check doesn't ignore files from option "ExtCleanupDisk"

Only files listed in option ParIgnoreExt are ignored.
This commit is contained in:
Andrey Prygunkov
2016-01-09 21:44:01 +01:00
parent 362ee700c5
commit 0732cb4b8b
5 changed files with 9 additions and 14 deletions

View File

@@ -346,7 +346,7 @@ void NzbFile::CalcHashes()
// check file extension
bool skip = !fileInfo->GetParFile() &&
Util::MatchFileExt(fileInfo->GetFilename(), g_Options->GetExtCleanupDisk(), ",;");
Util::MatchFileExt(fileInfo->GetFilename(), g_Options->GetParIgnoreExt(), ",;");
for (FileInfo::Articles::iterator it = fileInfo->GetArticles()->begin(); it != fileInfo->GetArticles()->end(); it++)
{