1
0
mirror of https://github.com/PurpleI2P/i2pd.git synced 2025-01-24 01:54:33 +00:00

adjust message length after alignment

This commit is contained in:
orignal 2014-11-26 11:54:35 -05:00
parent 357a9a6a56
commit 77687a70a2

View File

@ -122,7 +122,10 @@ namespace tunnel
{
size_t rem = ((size_t)GetBuffer ()) % alignment;
if (rem)
{
offset += (alignment - rem);
len += (alignment - rem);
}
}
I2NPMessage& operator=(const I2NPMessage& other)