mirror of
https://github.com/PurpleI2P/i2pd
synced 2024-11-10 08:00:38 +03:00
process complete message
This commit is contained in:
parent
ecd3a49d48
commit
8feca6874a
2
I2CP.cpp
2
I2CP.cpp
@ -167,7 +167,7 @@ namespace client
|
||||
size_t offset = 0; // from m_Buffer
|
||||
if (m_NextMessage)
|
||||
{
|
||||
if (m_NextMessageOffset + bytes_transferred <= m_NextMessageLen)
|
||||
if (m_NextMessageOffset + bytes_transferred < m_NextMessageLen)
|
||||
{
|
||||
memcpy (m_NextMessage + m_NextMessageOffset, m_Buffer, bytes_transferred);
|
||||
m_NextMessageOffset += bytes_transferred;
|
||||
|
Loading…
Reference in New Issue
Block a user