非法来源 逻辑有待组织

This commit is contained in:
cdyong 2016-05-16 06:41:55 +00:00
parent 7993f90461
commit 46edde7b9f
1 changed files with 1 additions and 1 deletions

View File

@ -137,7 +137,7 @@ bool TokenController::Valid(const Message& msg)
auto svr = (IPEndPoint*)Server; auto svr = (IPEndPoint*)Server;
auto rmt = (IPEndPoint*)msg.State; auto rmt = (IPEndPoint*)msg.State;
if (!rmt || svr && *svr != *rmt) if (!rmt)
{ {
debug_printf("Token::Valid 非法来源 "); debug_printf("Token::Valid 非法来源 ");
if (rmt) rmt->Show(); if (rmt) rmt->Show();