rpcrt4: Recreate listening pipe in rpcrt4_protseq_np_get_wait_array if needed.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Jacek Caban 2017-05-31 17:30:29 +02:00 committed by Alexandre Julliard
parent 5c2083fd22
commit 10a6b33a93
1 changed files with 2 additions and 0 deletions

View File

@ -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;