Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
This commit is contained in:
tomoaki
2020-04-07 14:21:53 +09:00
parent 687a78ee2c
commit 480d084e69

View File

@@ -204,7 +204,7 @@ void ClientRecvTask::run()
log(client, packet, &data.clientID);
if (!client)
if ( client == nullptr )
{
WRITELOG("%s Client(%s) was rejected. CONNECT message has been discarded.%s\n", ERRMSG_HEADER, senderAddr->sprint(buf), ERRMSG_FOOTER);
delete packet;