mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-22 07:41:20 -04:00
fixed a few bugs in internal directory storage structure
This commit is contained in:
parent
2668b6da1c
commit
ca8f95c7f7
5 changed files with 59 additions and 24 deletions
|
@ -83,12 +83,6 @@ void LocalDirectoryUpdater::recursUpdateSharedDir(const std::string& cumulated_p
|
|||
|
||||
librs::util::FolderIterator dirIt(cumulated_path);
|
||||
|
||||
if(!dirIt.isValid())
|
||||
{
|
||||
mSharedDirectories->removeDirectory(indx) ; // this is a complex operation since it needs to *update* it so that it is kept consistent.
|
||||
return ;
|
||||
}
|
||||
|
||||
// collect subdirs and subfiles
|
||||
|
||||
std::map<std::string,DirectoryStorage::FileTS> subfiles ;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue