Jacek Caban : rpcrt4: Recreate listening pipe in rpcrt4_protseq_np_get_wait_array if needed.
Alexandre Julliard
julliard at winehq.org
Wed May 31 16:20:18 CDT 2017
Module: wine
Branch: master
Commit: 10a6b33a93cd4ea33032077b8e0753ef61ea88ed
URL: http://source.winehq.org/git/wine.git/?a=commit;h=10a6b33a93cd4ea33032077b8e0753ef61ea88ed
Author: Jacek Caban <jacek at codeweavers.com>
Date: Wed May 31 17:30:29 2017 +0200
rpcrt4: Recreate listening pipe in rpcrt4_protseq_np_get_wait_array if needed.
Signed-off-by: Jacek Caban <jacek at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/rpcrt4/rpc_transport.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/dlls/rpcrt4/rpc_transport.c b/dlls/rpcrt4/rpc_transport.c
index ca33c3e..367bf2c 100644
--- a/dlls/rpcrt4/rpc_transport.c
+++ b/dlls/rpcrt4/rpc_transport.c
@@ -655,6 +655,8 @@ static void *rpcrt4_protseq_np_get_wait_array(RpcServerProtseq *protseq, void *p
*count = 1;
LIST_FOR_EACH_ENTRY(conn, &protseq->listeners, RpcConnection_np, common.protseq_entry)
{
+ if (!conn->pipe && rpcrt4_conn_create_pipe(&conn->common) != RPC_S_OK)
+ continue;
if (!conn->listen_event)
{
NTSTATUS status;
More information about the wine-cvs
mailing list