summaryrefslogtreecommitdiffstats
path: root/src/Protocol/Protocol17x.h
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-01-24 23:03:48 +0100
committermadmaxoft <github@xoft.cz>2014-01-24 23:03:48 +0100
commitd0da5d392f64c63fefde352a2a0b569317ca59cc (patch)
treefab51c06d218facd3be1c52201aa14ba96ee6d90 /src/Protocol/Protocol17x.h
parentFixed a possible deadlock on client disconnect. (diff)
downloadcuberite-d0da5d392f64c63fefde352a2a0b569317ca59cc.tar
cuberite-d0da5d392f64c63fefde352a2a0b569317ca59cc.tar.gz
cuberite-d0da5d392f64c63fefde352a2a0b569317ca59cc.tar.bz2
cuberite-d0da5d392f64c63fefde352a2a0b569317ca59cc.tar.lz
cuberite-d0da5d392f64c63fefde352a2a0b569317ca59cc.tar.xz
cuberite-d0da5d392f64c63fefde352a2a0b569317ca59cc.tar.zst
cuberite-d0da5d392f64c63fefde352a2a0b569317ca59cc.zip
Diffstat (limited to 'src/Protocol/Protocol17x.h')
-rw-r--r--src/Protocol/Protocol17x.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Protocol/Protocol17x.h b/src/Protocol/Protocol17x.h
index 3f440f313..b04a1f019 100644
--- a/src/Protocol/Protocol17x.h
+++ b/src/Protocol/Protocol17x.h
@@ -223,6 +223,11 @@ protected:
CryptoPP::CFB_Mode<CryptoPP::AES>::Decryption m_Decryptor;
CryptoPP::CFB_Mode<CryptoPP::AES>::Encryption m_Encryptor;
+ #ifdef _DEBUG
+ /** The logfile where the comm is logged, when g_ShouldLogComm is true */
+ cFile m_CommLogFile;
+ #endif
+
/// Adds the received (unencrypted) data to m_ReceivedData, parses complete packets
void AddReceivedData(const char * a_Data, int a_Size);