mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-07 00:25:16 -04:00
added extra list view in own files.
This commit is contained in:
parent
359e11433b
commit
1383846364
9 changed files with 149 additions and 24 deletions
|
@ -865,7 +865,7 @@ void InternalFileHierarchyStorage::print() const
|
|||
for(uint32_t i=0;i<mNodes.size();++i)
|
||||
if(mNodes[i] == NULL)
|
||||
{
|
||||
std::cerr << " Node " << i << ": empty " << std::endl;
|
||||
//std::cerr << " Node " << i << ": empty " << std::endl;
|
||||
++nempty ;
|
||||
}
|
||||
else if(mNodes[i]->type() == FileStorageNode::TYPE_DIR)
|
||||
|
@ -1183,6 +1183,11 @@ bool InternalFileHierarchyStorage::load(const std::string& fname)
|
|||
}
|
||||
free(buffer) ;
|
||||
|
||||
std::string err_str ;
|
||||
|
||||
if(!check(err_str))
|
||||
std::cerr << "(EE) Error while loading file hierarchy " << fname << std::endl;
|
||||
|
||||
return true ;
|
||||
}
|
||||
catch(read_error& e)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue