Browse Source

adjust message length after alignment

pull/113/head
orignal 10 years ago
parent
commit
77687a70a2
  1. 3
      I2NPProtocol.h

3
I2NPProtocol.h

@ -122,7 +122,10 @@ namespace tunnel @@ -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)

Loading…
Cancel
Save