diff options
Diffstat (limited to 'source/Protocol/Protocol125.cpp')
-rw-r--r-- | source/Protocol/Protocol125.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/Protocol/Protocol125.cpp b/source/Protocol/Protocol125.cpp index 58afcdcae..beac46c69 100644 --- a/source/Protocol/Protocol125.cpp +++ b/source/Protocol/Protocol125.cpp @@ -96,8 +96,10 @@ enum { \
if (!m_ReceivedData.Proc(Var)) \
{ \
+ m_ReceivedData.CheckValid(); \
return PARSE_INCOMPLETE; \
} \
+ m_ReceivedData.CheckValid(); \
}
@@ -111,7 +113,7 @@ typedef unsigned char Byte; cProtocol125::cProtocol125(cClientHandle * a_Client) :
super(a_Client),
- m_ReceivedData(64 KiB)
+ m_ReceivedData(32 KiB)
{
}
|