mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-29 17:28:41 -04:00
added missing code for remote search by hash, fixing the bug of direct sources not added
This commit is contained in:
parent
8d146038c2
commit
160ab7b4f3
4 changed files with 39 additions and 7 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue