mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-25 23:06:10 -05:00
fixed crash in debug output in p3filelists
This commit is contained in:
parent
b95fbe34bc
commit
15f69b2236
@ -760,7 +760,7 @@ int p3FileDatabase::RequestDirDetails(void *ref, DirDetails& d, FileSearchFlags
|
||||
|
||||
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 ;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user