mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-27 00:15:51 -04:00
fixed crash in debug output in p3filelists
This commit is contained in:
parent
b95fbe34bc
commit
15f69b2236
1 changed files with 1 additions and 1 deletions
|
@ -760,7 +760,7 @@ int p3FileDatabase::RequestDirDetails(void *ref, DirDetails& d, FileSearchFlags
|
||||||
|
|
||||||
if(storage==NULL || !storage->extractData(e,d))
|
if(storage==NULL || !storage->extractData(e,d))
|
||||||
{
|
{
|
||||||
P3FILELISTS_ERROR() << "(EE) request on index " << e << ", for directory ID=" << storage->peerId() << " failed. This should not happen." << std::endl;
|
P3FILELISTS_ERROR() << "(EE) request on index " << e << ", for directory ID=" << ((storage==NULL)?("[NULL]"):(storage->peerId().toStdString())) << " failed. This should not happen." << std::endl;
|
||||||
return false ;
|
return false ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue