From d4737e07241d6b001f40f81de463ffa66a0eac76 Mon Sep 17 00:00:00 2001 From: rubidium Date: Sun, 1 May 2011 11:13:11 +0000 Subject: (svn r22399) -Codechange: replace some defines in the tcp/content code so doxygen can create better documentation --- src/network/network_content.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/network/network_content.cpp') diff --git a/src/network/network_content.cpp b/src/network/network_content.cpp index 9a1d862d1..aadca7ebb 100644 --- a/src/network/network_content.cpp +++ b/src/network/network_content.cpp @@ -44,7 +44,7 @@ static bool HasGRFConfig(const ContentInfo *ci, bool md5sum) */ typedef bool (*HasProc)(const ContentInfo *ci, bool md5sum); -DEF_CONTENT_RECEIVE_COMMAND(Client, PACKET_CONTENT_SERVER_INFO) +bool ClientNetworkContentSocketHandler::Receive_SERVER_INFO(Packet *p) { ContentInfo *ci = new ContentInfo(); ci->type = (ContentType)p->Recv_uint8(); @@ -425,7 +425,7 @@ static bool GunzipFile(const ContentInfo *ci) #endif /* defined(WITH_ZLIB) */ } -DEF_CONTENT_RECEIVE_COMMAND(Client, PACKET_CONTENT_SERVER_CONTENT) +bool ClientNetworkContentSocketHandler::Receive_SERVER_CONTENT(Packet *p) { if (this->curFile == NULL) { delete this->curInfo; -- cgit v1.2.3-54-g00ecf