Module: wine Branch: master Commit: 62c49bdd18bddccc97b3eb6edec6dd461d896cf2 URL: http://source.winehq.org/git/wine.git/?a=commit;h=62c49bdd18bddccc97b3eb6ede...
Author: Rob Shearman rob@codeweavers.com Date: Mon Jun 25 14:25:39 2007 +0100
rpcrt4: When an exception is raised, return the stored exception code instead of the generic RPC_S_CALL_FAILED.
---
dlls/rpcrt4/rpc_message.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/rpcrt4/rpc_message.c b/dlls/rpcrt4/rpc_message.c index cd25520..8ff2e15 100644 --- a/dlls/rpcrt4/rpc_message.c +++ b/dlls/rpcrt4/rpc_message.c @@ -925,7 +925,7 @@ RPC_STATUS WINAPI I_RpcSend(PRPC_MESSAGE pMsg) if (bind->server) { if (pMsg->RpcFlags & WINE_RPCFLAG_EXCEPTION) { hdr = RPCRT4_BuildFaultHeader(pMsg->DataRepresentation, - RPC_S_CALL_FAILED); + *(DWORD *)pMsg->Buffer); } else { hdr = RPCRT4_BuildResponseHeader(pMsg->DataRepresentation, pMsg->BufferLength);