rpcrt4: Use MaxCalls from the protseq when determining the backlog length to pass in to listen.

This commit is contained in:
Rob Shearman 2006-11-08 20:46:32 +00:00 committed by Alexandre Julliard
parent 34577de406
commit 034eaa1cad

View file

@ -799,7 +799,7 @@ static RPC_STATUS rpcrt4_protseq_ncacn_ip_tcp_open_endpoint(RpcServerProtseq *pr
continue;
}
ret = listen(sock, 10);
ret = listen(sock, protseq->MaxCalls);
if (ret < 0)
{
WARN("listen failed: %s\n", strerror(errno));