=?UTF-8?Q?Andr=C3=A9=20Hentschel=20?=: rpcrt4: Fix copy-paste error ( coverity).

Alexandre Julliard julliard at winehq.org
Wed Oct 24 13:39:42 CDT 2012


Module: wine
Branch: master
Commit: c60a0b857d70ba918b8bf8d085977fea59523c9f
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=c60a0b857d70ba918b8bf8d085977fea59523c9f

Author: André Hentschel <nerv at dawncrow.de>
Date:   Wed Oct 24 19:27:23 2012 +0200

rpcrt4: Fix copy-paste error (coverity).

---

 dlls/rpcrt4/ndr_stubless.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

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;
 




More information about the wine-cvs mailing list