Skip to content


Browse files Browse the repository at this point in the history
Fix for commit 87dcee6 It uses the wrong variable and only covers som…
…e use cases. This change covers all use cases.
  • Loading branch information
gregorycu authored and nerzhul committed Jan 4, 2016
1 parent 09a6910 commit e7e9171
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/network/networkpacket.cpp
Expand Up @@ -77,7 +77,7 @@ void NetworkPacket::putRawString(const char* src, u32 len)

if (m_datasize == 0)
if (len == 0)

memcpy(&m_data[m_read_offset], src, len);
Expand Down

0 comments on commit e7e9171

Please sign in to comment.