Skip to content

Commit f54f9e0

Browse files
committed
update:verification protocol code
1 parent a00254c commit f54f9e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

XEngine_Module/XEngine_Verification/Verification_XAuth/Verification_XAuthNet.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ bool CVerification_XAuthNet::Verification_XAuthNet_Login(LPCXSTR lpszUser, LPCXS
443443
return false;
444444
}
445445
//判断是否登录协议
446-
if (0x2006 != st_ProtocolHdr.unOperatorCode)
446+
if (XENGINE_COMMUNICATION_PROTOCOL_OPERATOR_CODE_AUTH_REPLOGIN != st_ProtocolHdr.unOperatorCode)
447447
{
448448
Verification_IsErrorOccur = true;
449449
Verification_dwErrorCode = ERROR_XENGINE_MODULE_VERIFICATION_XAUTH_CODE;
@@ -527,7 +527,7 @@ XHTHREAD XCALLBACK CVerification_XAuthNet::Verification_XAuthNet_Thread(XPVOID l
527527
memcpy(tszMsgBuffer, ptszMsgBuffer, nMsgLen);
528528
}
529529

530-
if (0 != st_ProtocolHdr.wReserve)
530+
if (XENGINE_COMMUNICATION_PROTOCOL_OPERATOR_CODE_AUTH_EXPIRED == st_ProtocolHdr.wReserve)
531531
{
532532
pClass_This->m_bAuth = false;
533533
}

0 commit comments

Comments
 (0)