summaryrefslogtreecommitdiff
path: root/src/net/logouthandler.cpp
diff options
context:
space:
mode:
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)
{