summaryrefslogtreecommitdiffstats
path: root/Tools/ProtoProxy
diff options
context:
space:
mode:
authorTycho <work.tycho+git@gmail.com>2014-03-12 17:49:37 +0100
committerTycho <work.tycho+git@gmail.com>2014-03-12 17:49:37 +0100
commitef58b0eb54c700800597031c37c3e76fef87cdfb (patch)
tree03276194c5693d7da0d330b4427f18752be39a58 /Tools/ProtoProxy
parentRollback submodule change (diff)
downloadcuberite-ef58b0eb54c700800597031c37c3e76fef87cdfb.tar
cuberite-ef58b0eb54c700800597031c37c3e76fef87cdfb.tar.gz
cuberite-ef58b0eb54c700800597031c37c3e76fef87cdfb.tar.bz2
cuberite-ef58b0eb54c700800597031c37c3e76fef87cdfb.tar.lz
cuberite-ef58b0eb54c700800597031c37c3e76fef87cdfb.tar.xz
cuberite-ef58b0eb54c700800597031c37c3e76fef87cdfb.tar.zst
cuberite-ef58b0eb54c700800597031c37c3e76fef87cdfb.zip
Diffstat (limited to '')
-rw-r--r--Tools/ProtoProxy/Connection.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tools/ProtoProxy/Connection.cpp b/Tools/ProtoProxy/Connection.cpp
index 73688d310..46119ff42 100644
--- a/Tools/ProtoProxy/Connection.cpp
+++ b/Tools/ProtoProxy/Connection.cpp
@@ -2772,7 +2772,7 @@ void cConnection::LogMetadata(const AString & a_Metadata, size_t a_IndentCount)
{
int Index = ((unsigned)((unsigned char)a_Metadata[pos])) & 0x1f; // Lower 5 bits = index
int Type = ((unsigned)((unsigned char)a_Metadata[pos])) >> 5; // Upper 3 bits = type
- //int Length = 0;
+ // int Length = 0;
switch (Type)
{
case 0:
@@ -2827,7 +2827,7 @@ void cConnection::LogMetadata(const AString & a_Metadata, size_t a_IndentCount)
ASSERT(!"Cannot parse item description from metadata");
return;
}
- //int After = bb.GetReadableSpace();
+ // int After = bb.GetReadableSpace();
int BytesConsumed = BytesLeft - bb.GetReadableSpace();
Log("%sslot[%d] = %s (%d bytes)", Indent.c_str(), Index, ItemDesc.c_str(), BytesConsumed);