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

Robert Shearman rob at codeweavers.com
Wed Nov 8 14:46:32 CST 2006


---
  dlls/rpcrt4/rpc_transport.c |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)
-------------- next part --------------
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));


More information about the wine-patches mailing list