mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-07 06:09:42 +00:00
moved save to file to RI
This commit is contained in:
@@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user