cwWebSock.cpp : Removed unnecessary '\n' from cwLogInfo() calls.

This commit is contained in:
kevin 2024-10-12 13:45:24 -04:00
parent 64d5886392
commit c60142a6c1

View File

@ -162,7 +162,7 @@ namespace cw
break; break;
case LWS_CALLBACK_ESTABLISHED: case LWS_CALLBACK_ESTABLISHED:
cwLogInfo("Websocket session:%i opened: \n",ws->_nextSessionId); cwLogInfo("Websocket session:%i opened",ws->_nextSessionId);
sess->id = ws->_nextSessionId++; sess->id = ws->_nextSessionId++;
sess->protocolId = proto->id; sess->protocolId = proto->id;
@ -177,7 +177,7 @@ namespace cw
break; break;
case LWS_CALLBACK_CLOSED: case LWS_CALLBACK_CLOSED:
cwLogInfo("Websocket connection closed.\n"); cwLogInfo("Websocket connection closed.");
ws->_connSessionN -= 1; ws->_connSessionN -= 1;