Fix multi download of same file.

This commit is contained in:
Phenom 2017-07-06 22:35:54 +02:00
parent c630f1fa89
commit 54047cd7a7
2 changed files with 5 additions and 3 deletions

View file

@ -868,7 +868,7 @@ bool ftController::alreadyHaveFile(const RsFileHash& hash, FileInfo &info)
return true ;
// check for file lists
if (mSearch) return false;
if (!mSearch) return false;
if (mSearch->search(hash, RS_FILE_HINTS_LOCAL | RS_FILE_HINTS_EXTRA | RS_FILE_HINTS_SPEC_ONLY, info))
return true ;