mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
don't populate buffer of unreachable router
This commit is contained in:
parent
77142e59ee
commit
02a36a9fa8
4 changed files with 13 additions and 12 deletions
|
@ -589,6 +589,8 @@ namespace data
|
|||
{
|
||||
if (LoadFile (fullPath))
|
||||
LogPrint (eLogDebug, "RouterInfo: Buffer for ", GetIdentHashAbbreviation (GetIdentHash ()), " loaded from file");
|
||||
else
|
||||
return nullptr;
|
||||
}
|
||||
return m_Buffer->data ();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue