mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
load RI buffer from file by request
This commit is contained in:
parent
c21adbe3ae
commit
028c70d6ee
4 changed files with 43 additions and 17 deletions
|
@ -260,9 +260,9 @@ namespace data
|
|||
for (boost::filesystem::directory_iterator it1 (it->path ()); it1 != end; ++it1)
|
||||
{
|
||||
#if BOOST_VERSION > 10500
|
||||
RouterInfo * r = new RouterInfo (it1->path().string().c_str ());
|
||||
RouterInfo * r = new RouterInfo (it1->path().string());
|
||||
#else
|
||||
RouterInfo * r = new RouterInfo(it1->path().c_str());
|
||||
RouterInfo * r = new RouterInfo(it1->path());
|
||||
#endif
|
||||
r->DeleteBuffer ();
|
||||
m_RouterInfos[r->GetIdentHash ()] = r;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue