mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
turned one error into a warning in p3filelists.cc when requesting an unexisting ref
This commit is contained in:
parent
8b22924b25
commit
f3d7948238
@ -829,7 +829,9 @@ 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==NULL)?("[NULL]"):(storage->peerId().toStdString())) << " failed. This should not happen." << std::endl;
|
#ifdef DEBUG_FILE_HIERARCHY
|
||||||
|
P3FILELISTS_DEBUG() << "(WW) request on index " << e << ", for directory ID=" << ((storage==NULL)?("[NULL]"):(storage->peerId().toStdString())) << " failed. This should not happen." << std::endl;
|
||||||
|
#endif
|
||||||
return false ;
|
return false ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user