mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2026-05-25 20:45:02 +00:00
moved save to file to RI
This commit is contained in:
+1
-1
@@ -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 ();
|
||||
|
||||
Reference in New Issue
Block a user