diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-03-15 18:24:39 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-03-15 18:24:39 +0300 |
commit | 77afc97b4d6e4caace275d8bc21a94525ad070e2 (patch) | |
tree | 2c31833c1ecb84effd209aa3c568f2d2b3a175c2 /src/net | |
parent | e45a51342495eccdb8280f1f1a7963c7b78f4772 (diff) | |
download | manaplus-77afc97b4d6e4caace275d8bc21a94525ad070e2.tar.gz manaplus-77afc97b4d6e4caace275d8bc21a94525ad070e2.tar.bz2 manaplus-77afc97b4d6e4caace275d8bc21a94525ad070e2.tar.xz manaplus-77afc97b4d6e4caace275d8bc21a94525ad070e2.zip |
Show info about wrong packet size in chat if enabled show unimplimentaed packets.
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/messagein.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/net/messagein.cpp b/src/net/messagein.cpp index f012a5e2c..db0318a4d 100644 --- a/src/net/messagein.cpp +++ b/src/net/messagein.cpp @@ -60,6 +60,7 @@ MessageIn::~MessageIn() CAST_U32(mId)); logger->log(" planned size: %u", mLength); logger->log(" read size: %u", mPos); + WRONGPACKETSIZE; } } else |