start *IDs from different non-zero

Help detect situations where SID, CID, or IOID are mixed up
This commit is contained in:
Michael Davidsaver
2020-04-07 12:00:37 -07:00
parent cfda7e2260
commit 3b641bed84
3 changed files with 3 additions and 4 deletions
-1
View File
@@ -32,7 +32,6 @@ ServerConn::ServerConn(ServIface* iface, evutil_socket_t sock, struct sockaddr *
bufferevent_socket_new(iface->server->acceptor_loop.base, sock, BEV_OPT_CLOSE_ON_FREE|BEV_OPT_DEFER_CALLBACKS),
SockAddr(peer, socklen))
,iface(iface)
,nextSID(0)
{
log_debug_printf(connio, "Client %s connects\n", peerName.c_str());