rpcrt4: Fix copy-paste error (coverity)

André Hentschel nerv at dawncrow.de
Wed Oct 24 12:27:23 CDT 2012


CID 713009
---
 dlls/rpcrt4/ndr_stubless.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/rpcrt4/ndr_stubless.c b/dlls/rpcrt4/ndr_stubless.c
index d7a81bd..9c07f4e 100644
--- a/dlls/rpcrt4/ndr_stubless.c
+++ b/dlls/rpcrt4/ndr_stubless.c
@@ -853,7 +853,7 @@ LONG_PTR CDECL ndr_client_call( PMIDL_STUB_DESC pStubDesc, PFORMAT_STRING pForma
                 if (comm_fault_offsets->FaultOffset == -1)
                     fault_status = (ULONG *)&RetVal;
                 else if (comm_fault_offsets->FaultOffset >= 0)
-                    fault_status = *(ULONG **)ARG_FROM_OFFSET(stubMsg.StackTop, comm_fault_offsets->CommOffset);
+                    fault_status = *(ULONG **)ARG_FROM_OFFSET(stubMsg.StackTop, comm_fault_offsets->FaultOffset);
                 else
                     fault_status = NULL;
 
-- 
1.8.0



-- 

Best Regards, André Hentschel


More information about the wine-patches mailing list