diff -r 40d8d7231a36 -r d0fba0d7ad03 sources/network/udpsocket.cpp --- a/sources/network/udpsocket.cpp Sat Jul 23 12:35:43 2016 +0300 +++ b/sources/network/udpsocket.cpp Wed Jan 27 12:34:26 2021 +0200 @@ -129,12 +129,6 @@ return false; } - if (length < 4) - { - m_error = "The server sent a too short packet"; - return false; - } - unsigned char decodedPacket[MAX_DATAGRAM_LENGTH]; int decodedLength = sizeof decodedPacket; HUFFMAN_Decode (reinterpret_cast (HuffmanBuffer),