Module: wine Branch: refs/heads/master Commit: 56386bd88c3a18d832de5f00bdb984089b4d52a3 URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=56386bd88c3a18d832de5f00...
Author: Robert Shearman rob@codeweavers.com Date: Fri Jun 9 17:24:15 2006 +0100
rpcrt4: Return the status received from RPCRT4_Send in I_RpcSend instead of always returning RPC_S_OK.
---
dlls/rpcrt4/rpc_message.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/dlls/rpcrt4/rpc_message.c b/dlls/rpcrt4/rpc_message.c index ffde890..bd4b824 100644 --- a/dlls/rpcrt4/rpc_message.c +++ b/dlls/rpcrt4/rpc_message.c @@ -688,10 +688,9 @@ RPC_STATUS WINAPI I_RpcSend(PRPC_MESSAGE if (!bind->server) { /* save the connection, so the response can be read from it */ pMsg->ReservedForRuntime = conn; - return RPC_S_OK; + return status; } RPCRT4_CloseBinding(bind, conn); - status = RPC_S_OK;
return status; }