Browse Source

process complete message

pull/511/head
orignal 9 years ago
parent
commit
8feca6874a
  1. 2
      I2CP.cpp

2
I2CP.cpp

@ -167,7 +167,7 @@ namespace client @@ -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…
Cancel
Save