mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
rpcrt4: Use MaxCalls from the protseq when determining the backlog length to pass in to listen.
This commit is contained in:
parent
34577de406
commit
034eaa1cad
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue