From eb96262107efc225c904089c8970f0d231d44055 Mon Sep 17 00:00:00 2001 From: hreintke Date: Mon, 3 Aug 2015 16:21:46 +0200 Subject: [PATCH] activeClients debug message shows wrong information --- Sming/SmingCore/Network/TcpServer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sming/SmingCore/Network/TcpServer.cpp b/Sming/SmingCore/Network/TcpServer.cpp index 1ba3ab523b..79309c46ec 100644 --- a/Sming/SmingCore/Network/TcpServer.cpp +++ b/Sming/SmingCore/Network/TcpServer.cpp @@ -128,7 +128,7 @@ err_t TcpServer::onAccept(tcp_pcb *clientTcp, err_t err) void TcpServer::onClient(TcpClient *client) { activeClients++; - debugf("TcpServer onClient %s, activeClients = %d\r\n ",client->getRemoteIp().toString().c_str(),activeClients); + debugf("TcpServer onClient %s\r\n ",client->getRemoteIp().toString().c_str()); if (clientConnectDelegate) { clientConnectDelegate(client); @@ -138,7 +138,7 @@ void TcpServer::onClient(TcpClient *client) void TcpServer::onClientComplete(TcpClient& client, bool succesfull) { activeClients--; - debugf("TcpSever onComplete : %s activeClients = %d\r\n",client.getRemoteIp().toString().c_str(),activeClients ); + debugf("TcpSever onComplete : %s \r\n",client.getRemoteIp().toString().c_str()); if (clientCompleteDelegate) { clientCompleteDelegate(client,succesfull);