summaryrefslogtreecommitdiff
path: root/src/net/logouthandler.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2007-11-21 16:30:11 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2007-11-21 16:30:11 +0000
commita5e6a44b51d4269ed6812c9a9e0b6a293d959a4d (patch)
treef269a803b58b47082156dc74bb0d6e8e2dc6519e /src/net/logouthandler.cpp
parent1f6975d34e2c6fe8404fcbe13da406e624d94b68 (diff)
downloadmana-a5e6a44b51d4269ed6812c9a9e0b6a293d959a4d.tar.gz
mana-a5e6a44b51d4269ed6812c9a9e0b6a293d959a4d.tar.bz2
mana-a5e6a44b51d4269ed6812c9a9e0b6a293d959a4d.tar.xz
mana-a5e6a44b51d4269ed6812c9a9e0b6a293d959a4d.zip
Renamed {read,write}{Byte,Short,Long} to {read,write}{Int8,Int16,Int32}. This
is less confusing in 64-bit context and less conflicting with the 0.0 client.
Diffstat (limited to 'src/net/logouthandler.cpp')
-rw-r--r--src/net/logouthandler.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/net/logouthandler.cpp b/src/net/logouthandler.cpp
index d8b9d435..c7629490 100644
--- a/src/net/logouthandler.cpp
+++ b/src/net/logouthandler.cpp
@@ -48,7 +48,7 @@ void LogoutHandler::handleMessage(MessageIn &msg)
{
case APMSG_LOGOUT_RESPONSE:
{
- int errMsg = msg.readByte();
+ int errMsg = msg.readInt8();
// Successful logout
if (errMsg == ERRMSG_OK)
@@ -86,7 +86,7 @@ void LogoutHandler::handleMessage(MessageIn &msg)
break;
case APMSG_UNREGISTER_RESPONSE:
{
- int errMsg = msg.readByte();
+ int errMsg = msg.readInt8();
// Successful unregistration
if (errMsg == ERRMSG_OK)
{
@@ -110,7 +110,7 @@ void LogoutHandler::handleMessage(MessageIn &msg)
break;
case GPMSG_DISCONNECT_RESPONSE:
{
- int errMsg = msg.readByte();
+ int errMsg = msg.readInt8();
// Successful logout
if (errMsg == ERRMSG_OK)
{
@@ -156,7 +156,7 @@ void LogoutHandler::handleMessage(MessageIn &msg)
break;
case CPMSG_DISCONNECT_RESPONSE:
{
- int errMsg = msg.readByte();
+ int errMsg = msg.readInt8();
// Successful logout
if (errMsg == ERRMSG_OK)
{