Merge pull request #25 from hallard/master

avoid client ID being 0
This commit is contained in:
Me No Dev
2016-05-06 18:04:40 +03:00

View File

@@ -544,7 +544,7 @@ uint16_t AsyncWebSocketClient::remotePort() {
AsyncWebSocket::AsyncWebSocket(String url)
:_url(url)
,_clients(NULL)
,_cNextId(0)
,_cNextId(1)
{
_eventHandler = NULL;
}