1
This commit is contained in:
parent
68882934b5
commit
b1e5346fbb
@ -42,9 +42,10 @@ void SvrMgr::_SS_WSP_RequestTargetServer(f8::MsgHdr& hdr, const ss::SS_WSP_Reque
|
|||||||
|
|
||||||
void SvrMgr::_SS_IM_ReportServerInfo(f8::MsgHdr& hdr, const ss::SS_IM_ReportServerInfo& msg)
|
void SvrMgr::_SS_IM_ReportServerInfo(f8::MsgHdr& hdr, const ss::SS_IM_ReportServerInfo& msg)
|
||||||
{
|
{
|
||||||
|
SvrNode* svr = GetNodeBySocket(hdr.socket_handle);
|
||||||
std::string key = msg.ip() + ":" + a8::XValue(msg.port()).GetString();
|
std::string key = msg.ip() + ":" + a8::XValue(msg.port()).GetString();
|
||||||
|
|
||||||
SvrNode* svr = GetNodeByKey(key);
|
svr = GetNodeByKey(key);
|
||||||
if (svr) {
|
if (svr) {
|
||||||
if (svr->online_num != msg.online_num() ||
|
if (svr->online_num != msg.online_num() ||
|
||||||
svr->servicing != msg.servicing()
|
svr->servicing != msg.servicing()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user