diff options
author | Tycho <work.tycho+git@gmail.com> | 2014-03-10 21:18:53 +0100 |
---|---|---|
committer | Tycho <work.tycho+git@gmail.com> | 2014-03-10 21:18:53 +0100 |
commit | 98e15a34a416c31d4689836f4f38161f1270513c (patch) | |
tree | 1ae50f2ff4748ac22c810f1f631002b223e02c62 /Tools | |
parent | Fixed test asserts (diff) | |
download | cuberite-98e15a34a416c31d4689836f4f38161f1270513c.tar cuberite-98e15a34a416c31d4689836f4f38161f1270513c.tar.gz cuberite-98e15a34a416c31d4689836f4f38161f1270513c.tar.bz2 cuberite-98e15a34a416c31d4689836f4f38161f1270513c.tar.lz cuberite-98e15a34a416c31d4689836f4f38161f1270513c.tar.xz cuberite-98e15a34a416c31d4689836f4f38161f1270513c.tar.zst cuberite-98e15a34a416c31d4689836f4f38161f1270513c.zip |
Diffstat (limited to '')
-rw-r--r-- | Tools/ProtoProxy/Connection.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/ProtoProxy/Connection.cpp b/Tools/ProtoProxy/Connection.cpp index be908f303..73688d310 100644 --- a/Tools/ProtoProxy/Connection.cpp +++ b/Tools/ProtoProxy/Connection.cpp @@ -2697,7 +2697,7 @@ bool cConnection::ParseMetadata(cByteBuffer & a_Buffer, AString & a_Metadata) a_Metadata.push_back(x); while (x != 0x7f) { - //int Index = ((unsigned)((unsigned char)x)) & 0x1f; // Lower 5 bits = index + // int Index = ((unsigned)((unsigned char)x)) & 0x1f; // Lower 5 bits = index int Type = ((unsigned)((unsigned char)x)) >> 5; // Upper 3 bits = type int Length = 0; switch (Type) |