From 3536f4086a6a0d058a7b98383308a63734ef6007 Mon Sep 17 00:00:00 2001 From: michi_cc Date: Fri, 6 May 2011 22:17:34 +0000 Subject: [PATCH] (svn r22431) -Fix (r22399): NETWORK_RECV_STATUS_MALFORMED_PACKET != false. --- src/network/core/tcp_content.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/network/core/tcp_content.cpp b/src/network/core/tcp_content.cpp index 2b7f609a2a..30284f2e70 100644 --- a/src/network/core/tcp_content.cpp +++ b/src/network/core/tcp_content.cpp @@ -152,7 +152,7 @@ void NetworkContentSocketHandler::ReceivePackets() bool NetworkContentSocketHandler::ReceiveInvalidPacket(PacketContentType type) { DEBUG(net, 0, "[tcp/content] received illegal packet type %d from %s", type, this->client_addr.GetAddressAsString()); - return NETWORK_RECV_STATUS_MALFORMED_PACKET; + return false; } bool NetworkContentSocketHandler::Receive_CLIENT_INFO_LIST(Packet *p) { return this->ReceiveInvalidPacket(PACKET_CONTENT_CLIENT_INFO_LIST); }