Commit 7d76975e authored by luz's avatar luz

p44utils: SocketComm::startServer() did not store passed aMaxConnections argument

parent 5f41e8c1
......@@ -74,6 +74,7 @@ ErrorPtr SocketComm::startServer(ServerConnectionCB aServerConnectionHandler, in
int one = 1;
int socketFD = -1;
maxServerConnections = aMaxConnections;
memset((char *) &sin, 0, sizeof(sin));
if (protocolFamily==AF_INET) {
sin.sin_family = (sa_family_t)protocolFamily;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment