added missing code for remote search by hash, fixing the bug of direct sources not added

This commit is contained in:
csoler 2017-09-03 23:32:48 +02:00
parent 8d146038c2
commit 160ab7b4f3
4 changed files with 39 additions and 7 deletions

View file

@ -923,7 +923,12 @@ bool RemoteDirectoryStorage::deserialiseUpdateDirEntry(const EntryIndex& indx,co
return true ;
}
int RemoteDirectoryStorage::searchHash(const RsFileHash& hash, EntryIndex& result) const
{
RS_STACK_MUTEX(mDirStorageMtx) ;
return mFileHierarchy->searchHash(hash,result);
}