mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-05-15 03:41:48 +02:00
fix NetDb save bug, console cyrillic symbols, add files to project
This commit is contained in:
parent
72fcff35b6
commit
bc3bf838d9
4 changed files with 17 additions and 1 deletions
|
@ -213,7 +213,7 @@ namespace data
|
|||
{
|
||||
if (it.second->IsUpdated ())
|
||||
{
|
||||
std::ofstream r (GetFilePath(directory, it.second));
|
||||
std::ofstream r (GetFilePath(directory, it.second), std::ofstream::binary);
|
||||
r.write ((char *)it.second->GetBuffer (), it.second->GetBufferLen ());
|
||||
it.second->SetUpdated (false);
|
||||
count++;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue