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)