rpcrt4: There's no need to set stubMsg.StackTop twice.

This commit is contained in:
Robert Shearman 2006-04-20 11:42:16 +01:00 committed by Alexandre Julliard
parent a674ec0fda
commit 727e25d673
1 changed files with 1 additions and 4 deletions

View File

@ -1170,12 +1170,9 @@ long WINAPI NdrStubCall2(
{
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;