修正OnPing的BUG,成功从心跳响应里面得到时间设置
This commit is contained in:
parent
66441ace71
commit
215d753976
|
@ -576,7 +576,7 @@ void TinyClient::Ping()
|
||||||
bool TinyClient::OnPing(const TinyMessage& msg)
|
bool TinyClient::OnPing(const TinyMessage& msg)
|
||||||
{
|
{
|
||||||
// 仅处理来自网关的消息
|
// 仅处理来自网关的消息
|
||||||
if(Server == 0 || Server != msg.Dest) return true;
|
if(Server == 0 || Server != msg.Src) return true;
|
||||||
|
|
||||||
TS("TinyClient::OnPing");
|
TS("TinyClient::OnPing");
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue