diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-04-02 15:35:59 +0200 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-04-02 15:35:59 +0200 |
commit | 58d382c73ea18b171ef1d52dee1c456c78754b31 (patch) | |
tree | 608ca2a4d8dd427a7c1d95778e9d905fed46510c /src/net/messagein.h | |
parent | d20b79683997990a1b46ac8d4117f9195aa278f2 (diff) | |
download | mana-58d382c73ea18b171ef1d52dee1c456c78754b31.tar.gz mana-58d382c73ea18b171ef1d52dee1c456c78754b31.tar.bz2 mana-58d382c73ea18b171ef1d52dee1c456c78754b31.tar.xz mana-58d382c73ea18b171ef1d52dee1c456c78754b31.zip |
Don't use assertions in MessageIn
Not nice if some data corruption would cause the client to crash
unnecessarily.
Diffstat (limited to 'src/net/messagein.h')
-rw-r--r-- | src/net/messagein.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/messagein.h b/src/net/messagein.h index ab206dde..feb5a82f 100644 --- a/src/net/messagein.h +++ b/src/net/messagein.h @@ -89,7 +89,7 @@ class MessageIn std::string readString(int length = -1); private: - const char* mData; /**< The message data. */ + const char *mData; /**< The message data. */ unsigned int mLength; /**< The length of the data. */ unsigned short mId; /**< The message ID. */ |