rpcrt4: Enter new named pipe connections into the protocol connection list.

This commit is contained in:
Alexandre Julliard 2007-02-12 14:13:22 +01:00
parent 369749dcb2
commit 639ffbfde7
1 changed files with 6 additions and 1 deletions

View File

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