Module: wine Branch: master Commit: 034eaa1cadf1299cae65c57925ec1f6da8f3668a URL: http://source.winehq.org/git/wine.git/?a=commit;h=034eaa1cadf1299cae65c57925...
Author: Rob Shearman rob@codeweavers.com Date: Wed Nov 8 20:46:32 2006 +0000
rpcrt4: Use MaxCalls from the protseq when determining the backlog length to pass in to listen.
---
dlls/rpcrt4/rpc_transport.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/rpcrt4/rpc_transport.c b/dlls/rpcrt4/rpc_transport.c index 20d318d..66d2811 100644 --- a/dlls/rpcrt4/rpc_transport.c +++ b/dlls/rpcrt4/rpc_transport.c @@ -799,7 +799,7 @@ static RPC_STATUS rpcrt4_protseq_ncacn_i continue; }
- ret = listen(sock, 10); + ret = listen(sock, protseq->MaxCalls); if (ret < 0) { WARN("listen failed: %s\n", strerror(errno));