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
|
@ -200,7 +200,7 @@ namespace i2p
|
|||
msg->replyToken = 0;
|
||||
|
||||
CryptoPP::Gzip compressor;
|
||||
compressor.Put ((uint8_t *)context.GetRouterInfo ().GetBuffer (), context.GetRouterInfo ().GetBufferLen ());
|
||||
compressor.Put (context.GetRouterInfo ().GetBuffer (), context.GetRouterInfo ().GetBufferLen ());
|
||||
compressor.MessageEnd();
|
||||
// WARNING!!! MaxRetrievable() return uint64_t. Åñòü ïîäîçðåíèå, ÷òî ÷òî-òî íå òàê
|
||||
int size = compressor.MaxRetrievable ();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue