Revert "attempt to fix Socket.h error"

This reverts commit c1a59145ed.
This commit is contained in:
Ludwig
2024-07-04 21:23:32 +02:00
parent c1a59145ed
commit 578c3e98ff

View File

@@ -261,8 +261,7 @@ private:
const uint8 addressFamily = readPointer[13];
const uint16 len = (readPointer[14] << 8) | readPointer[15];
auto requiredLen = len + 16;
if (requiredLen > packet.GetActiveSize())
if (len+16 > packet.GetActiveSize())
{
AsyncReadProxyHeader();
return;