mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
moved save to file to RI
This commit is contained in:
parent
4de9ed80af
commit
ad65e52ce0
5 changed files with 17 additions and 10 deletions
|
@ -92,7 +92,6 @@ namespace i2p
|
|||
fk.write ((char *)&m_Keys, sizeof (m_Keys));
|
||||
}
|
||||
|
||||
std::ofstream fi (i2p::util::filesystem::GetFullPath (ROUTER_INFO).c_str (), std::ofstream::binary | std::ofstream::out);
|
||||
fi.write ((char *)m_RouterInfo.GetBuffer (), m_RouterInfo.GetBufferLen ());
|
||||
m_RouterInfo.SaveToFile (i2p::util::filesystem::GetFullPath (ROUTER_INFO));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue