Skip to content

Commit

Permalink
Merge pull request zeromq#533 from igvk/monitorevent_null
Browse files Browse the repository at this point in the history
Write null string length still
  • Loading branch information
somdoron committed Apr 25, 2016
2 parents b1dddc3 + f80b7c8 commit df15e54
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/NetMQ/Core/MonitorEvent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ public void Write([NotNull] SocketBase s)
buffer.PutString(m_addr, pos);
pos += m_addr.Length;
}
else
buffer[pos++] = 0;

buffer[pos++] = ((byte)m_flag);
if (m_flag == ValueInteger)
Expand Down

0 comments on commit df15e54

Please sign in to comment.