diff options
author | Mattes D <github@xoft.cz> | 2015-03-22 19:46:08 +0100 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2015-03-22 19:46:08 +0100 |
commit | c6268483934eb2bfdcb76ae621a0be40f76209f5 (patch) | |
tree | 9cf896200c8eaf94ca0f6c90bee3bf9c37dbce5b /src/Protocol/ProtocolRecognizer.cpp | |
parent | ProtoProxy: Fixed connection and logging. (diff) | |
download | cuberite-c6268483934eb2bfdcb76ae621a0be40f76209f5.tar cuberite-c6268483934eb2bfdcb76ae621a0be40f76209f5.tar.gz cuberite-c6268483934eb2bfdcb76ae621a0be40f76209f5.tar.bz2 cuberite-c6268483934eb2bfdcb76ae621a0be40f76209f5.tar.lz cuberite-c6268483934eb2bfdcb76ae621a0be40f76209f5.tar.xz cuberite-c6268483934eb2bfdcb76ae621a0be40f76209f5.tar.zst cuberite-c6268483934eb2bfdcb76ae621a0be40f76209f5.zip |
Diffstat (limited to 'src/Protocol/ProtocolRecognizer.cpp')
-rw-r--r-- | src/Protocol/ProtocolRecognizer.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/Protocol/ProtocolRecognizer.cpp b/src/Protocol/ProtocolRecognizer.cpp index 8d0f8148d..36f8bc791 100644 --- a/src/Protocol/ProtocolRecognizer.cpp +++ b/src/Protocol/ProtocolRecognizer.cpp @@ -982,3 +982,15 @@ bool cProtocolRecognizer::TryRecognizeLengthedProtocol(UInt32 a_PacketLengthRema +void cProtocolRecognizer::SendPacket(cPacketizer & a_Pkt) +{ + // This function should never be called - it needs to exists so that cProtocolRecognizer can be instantiated, + // but the actual sending is done by the internal m_Protocol itself. + LOGWARNING("%s: This function shouldn't ever be called.", __FUNCTION__); + ASSERT(!"Function not to be called"); +} + + + + + |