Rob Shearman : rpcrt4: Fix the return value from NdrSimpleStructMemorySize.
Alexandre Julliard
julliard at winehq.org
Sat Dec 8 13:43:43 CST 2007
Module: wine
Branch: master
Commit: d7a0de303e2751183072e51b4a8231d43696b881
URL: http://source.winehq.org/git/wine.git/?a=commit;h=d7a0de303e2751183072e51b4a8231d43696b881
Author: Rob Shearman <rob at codeweavers.com>
Date: Sat Dec 8 17:46:48 2007 +0000
rpcrt4: Fix the return value from NdrSimpleStructMemorySize.
---
dlls/rpcrt4/ndr_marshall.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/rpcrt4/ndr_marshall.c b/dlls/rpcrt4/ndr_marshall.c
index 17b84c4..6463a56 100644
--- a/dlls/rpcrt4/ndr_marshall.c
+++ b/dlls/rpcrt4/ndr_marshall.c
@@ -1776,7 +1776,7 @@ ULONG WINAPI NdrSimpleStructMemorySize(PMIDL_STUB_MESSAGE pStubMsg,
if (pFormat[0] != RPC_FC_STRUCT)
EmbeddedPointerMemorySize(pStubMsg, pFormat+4);
- return size;
+ return pStubMsg->MemorySize;
}
/***********************************************************************
More information about the wine-cvs
mailing list