Alexandre Julliard : rpcrt4:
Enter new named pipe connections into the protocol connection list.
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Feb 12 09:24:04 CST 2007
Module: wine
Branch: master
Commit: 639ffbfde7a3293b7da1e69294f747af6ee18067
URL: http://source.winehq.org/git/wine.git/?a=commit;h=639ffbfde7a3293b7da1e69294f747af6ee18067
Author: Alexandre Julliard <julliard at winehq.org>
Date: Mon Feb 12 14:13:22 2007 +0100
rpcrt4: Enter new named pipe connections into the protocol connection list.
---
dlls/rpcrt4/rpc_transport.c | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/dlls/rpcrt4/rpc_transport.c b/dlls/rpcrt4/rpc_transport.c
index bf998bb..bd0a797 100644
--- a/dlls/rpcrt4/rpc_transport.c
+++ b/dlls/rpcrt4/rpc_transport.c
@@ -300,7 +300,12 @@ static RPC_STATUS rpcrt4_protseq_ncacn_n
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;
}
More information about the wine-cvs
mailing list