rpcrt4: Return the status received from RPCRT4_Send in I_RpcSend instead of always returning RPC_S_OK.

This commit is contained in:
Robert Shearman 2006-06-09 17:24:15 +01:00 committed by Alexandre Julliard
parent 773309a403
commit 56386bd88c
1 changed files with 1 additions and 2 deletions

View File

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