Commit 8b56e882 authored by Robert Shearman's avatar Robert Shearman Committed by Alexandre Julliard

rpcrt4: Return the actual status code sent back by the server, rather than RPC_S_CALL_FAILED.

parent 9d5849d9
......@@ -754,8 +754,8 @@ RPC_STATUS WINAPI I_RpcReceive(PRPC_MESSAGE pMsg)
break;
case PKT_FAULT:
pMsg->RpcFlags |= WINE_RPCFLAG_EXCEPTION;
ERR ("we got fault packet with status %lx\n", hdr->fault.status);
status = RPC_S_CALL_FAILED; /* ? */
ERR ("we got fault packet with status 0x%lx\n", hdr->fault.status);
status = hdr->fault.status; /* FIXME: do translation from nca error codes */
goto fail;
default:
WARN("bad packet type %d\n", hdr->common.ptype);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment