From 56386bd88c3a18d832de5f00bdb984089b4d52a3 Mon Sep 17 00:00:00 2001 From: Robert Shearman Date: Fri, 9 Jun 2006 17:24:15 +0100 Subject: [PATCH] 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 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dlls/rpcrt4/rpc_message.c b/dlls/rpcrt4/rpc_message.c index ffde89071b7..bd4b8247549 100644 --- a/dlls/rpcrt4/rpc_message.c +++ b/dlls/rpcrt4/rpc_message.c @@ -688,10 +688,9 @@ RPC_STATUS WINAPI I_RpcSend(PRPC_MESSAGE pMsg) 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; } -- 2.11.4.GIT