summaryrefslogtreecommitdiffstats
path: root/Tools/ProtoProxy/Connection.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@outlook.com>2021-07-06 13:47:03 +0200
committerTiger Wang <ziwei.tiger@outlook.com>2021-07-06 22:33:03 +0200
commit4ec44751e2ae35542d7364b9bcad95b1a32cb135 (patch)
tree23dcd61746e249bf43207fe9273c4736d296e73c /Tools/ProtoProxy/Connection.h
parentReplace chunk coordinates magic with numeric_limits (diff)
downloadcuberite-4ec44751e2ae35542d7364b9bcad95b1a32cb135.tar
cuberite-4ec44751e2ae35542d7364b9bcad95b1a32cb135.tar.gz
cuberite-4ec44751e2ae35542d7364b9bcad95b1a32cb135.tar.bz2
cuberite-4ec44751e2ae35542d7364b9bcad95b1a32cb135.tar.lz
cuberite-4ec44751e2ae35542d7364b9bcad95b1a32cb135.tar.xz
cuberite-4ec44751e2ae35542d7364b9bcad95b1a32cb135.tar.zst
cuberite-4ec44751e2ae35542d7364b9bcad95b1a32cb135.zip
Diffstat (limited to 'Tools/ProtoProxy/Connection.h')
-rw-r--r--Tools/ProtoProxy/Connection.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/ProtoProxy/Connection.h b/Tools/ProtoProxy/Connection.h
index b524561a1..b5e1b4ce0 100644
--- a/Tools/ProtoProxy/Connection.h
+++ b/Tools/ProtoProxy/Connection.h
@@ -129,7 +129,7 @@ protected:
bool SendData(SOCKET a_Socket, cByteBuffer & a_Data, const char * a_Peer);
/** Sends data to the specfied socket, after encrypting it using a_Encryptor. If sending fails, prints a fail message using a_Peer and returns false */
- bool SendEncryptedData(SOCKET a_Socket, cAesCfb128Encryptor & a_Encryptor, ContiguousByteBufferView a_Data, const char * a_Peer);
+ bool SendEncryptedData(SOCKET a_Socket, cAesCfb128Encryptor & a_Encryptor, ContiguousByteBuffer & a_Data, const char * a_Peer);
/** Sends data to the specfied socket, after encrypting it using a_Encryptor. If sending fails, prints a fail message using a_Peer and returns false */
bool SendEncryptedData(SOCKET a_Socket, cAesCfb128Encryptor & a_Encryptor, cByteBuffer & a_Data, const char * a_Peer);