mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-12 18:20:26 +01:00
Update MessageHeader.h
This commit is contained in:
parent
1cd745996c
commit
d9f92d506d
@ -121,6 +121,7 @@ inline Int32 MessageHeader::getMessageLength() const
|
||||
|
||||
inline void MessageHeader::setMessageLength(Int32 length)
|
||||
{
|
||||
poco_assert (_messageLength >= 0);
|
||||
_messageLength = MSG_HEADER_SIZE + length;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user