修正OnPing的BUG,成功从心跳响应里面得到时间设置

This commit is contained in:
nnhy 2015-12-09 07:57:43 +00:00
parent 66441ace71
commit 215d753976
1 changed files with 1 additions and 1 deletions

View File

@ -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");