Mike McCormack : rpcrt4: Cache the connection so we don' t rebind on every call.

Alexandre Julliard julliard at wine.codeweavers.com
Wed May 10 12:56:56 CDT 2006


Module: wine
Branch: refs/heads/master
Commit: 9088debbfb703d23a65e4d331191b53042471140
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=9088debbfb703d23a65e4d331191b53042471140

Author: Mike McCormack <mike at codeweavers.com>
Date:   Wed May 10 18:07:46 2006 +0900

rpcrt4: Cache the connection so we don't rebind on every call.

---

 dlls/rpcrt4/rpc_binding.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/rpcrt4/rpc_binding.c b/dlls/rpcrt4/rpc_binding.c
index 58e5eef..5991eee 100644
--- a/dlls/rpcrt4/rpc_binding.c
+++ b/dlls/rpcrt4/rpc_binding.c
@@ -323,6 +323,7 @@ RPC_STATUS RPCRT4_OpenBinding(RpcBinding
     (*Connection)->ActiveInterface = *InterfaceId;
     HeapFree(GetProcessHeap(), 0, response);
   }
+  Binding->FromConn = *Connection;
 
   return RPC_S_OK;
 }




More information about the wine-cvs mailing list