Module: wine Branch: refs/heads/master Commit: 727e25d673929b674b6418bdaa5ab1cf05698dea URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=727e25d673929b674b6418bd...
Author: Robert Shearman rob@codeweavers.com Date: Thu Apr 20 11:42:16 2006 +0100
rpcrt4: There's no need to set stubMsg.StackTop twice.
---
dlls/rpcrt4/ndr_stubless.c | 5 +---- 1 files changed, 1 insertions(+), 4 deletions(-)
diff --git a/dlls/rpcrt4/ndr_stubless.c b/dlls/rpcrt4/ndr_stubless.c index 00132e5..2563f2c 100644 --- a/dlls/rpcrt4/ndr_stubless.c +++ b/dlls/rpcrt4/ndr_stubless.c @@ -1170,12 +1170,9 @@ #endif { case STUBLESS_CALLSERVER: /* call the server function */ - if (pServerInfo->ThunkTable) - { - stubMsg.StackTop = args; + if (pServerInfo->ThunkTable && pServerInfo->ThunkTable[pRpcMsg->ProcNum]) pServerInfo->ThunkTable[pRpcMsg->ProcNum](&stubMsg); /* FIXME: RetVal is stored as the last argument - retrieve it */ - } else if (pProcHeader->Oi_flags & RPC_FC_PROC_OIF_OBJECT) { SERVER_ROUTINE *vtbl = *(SERVER_ROUTINE **)((CStdStubBuffer *)pThis)->pvServerObject;