From 639ffbfde7a3293b7da1e69294f747af6ee18067 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Mon, 12 Feb 2007 14:13:22 +0100 Subject: [PATCH] rpcrt4: Enter new named pipe connections into the protocol connection list. --- dlls/rpcrt4/rpc_transport.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/dlls/rpcrt4/rpc_transport.c b/dlls/rpcrt4/rpc_transport.c index bf998bb5245..bd0a797e20c 100644 --- a/dlls/rpcrt4/rpc_transport.c +++ b/dlls/rpcrt4/rpc_transport.c @@ -300,7 +300,12 @@ static RPC_STATUS rpcrt4_protseq_ncacn_np_open_endpoint(RpcServerProtseq *protse strcat(strcpy(pname, prefix), Connection->Endpoint); r = rpcrt4_conn_create_pipe(Connection, pname); I_RpcFree(pname); - + + EnterCriticalSection(&protseq->cs); + Connection->Next = protseq->conn; + protseq->conn = Connection; + LeaveCriticalSection(&protseq->cs); + return r; }