rpcrt4: There's no need to set stubMsg.StackTop twice.
This commit is contained in:
parent
a674ec0fda
commit
727e25d673
|
@ -1170,12 +1170,9 @@ long WINAPI NdrStubCall2(
|
||||||
{
|
{
|
||||||
case STUBLESS_CALLSERVER:
|
case STUBLESS_CALLSERVER:
|
||||||
/* call the server function */
|
/* call the server function */
|
||||||
if (pServerInfo->ThunkTable)
|
if (pServerInfo->ThunkTable && pServerInfo->ThunkTable[pRpcMsg->ProcNum])
|
||||||
{
|
|
||||||
stubMsg.StackTop = args;
|
|
||||||
pServerInfo->ThunkTable[pRpcMsg->ProcNum](&stubMsg);
|
pServerInfo->ThunkTable[pRpcMsg->ProcNum](&stubMsg);
|
||||||
/* FIXME: RetVal is stored as the last argument - retrieve it */
|
/* FIXME: RetVal is stored as the last argument - retrieve it */
|
||||||
}
|
|
||||||
else if (pProcHeader->Oi_flags & RPC_FC_PROC_OIF_OBJECT)
|
else if (pProcHeader->Oi_flags & RPC_FC_PROC_OIF_OBJECT)
|
||||||
{
|
{
|
||||||
SERVER_ROUTINE *vtbl = *(SERVER_ROUTINE **)((CStdStubBuffer *)pThis)->pvServerObject;
|
SERVER_ROUTINE *vtbl = *(SERVER_ROUTINE **)((CStdStubBuffer *)pThis)->pvServerObject;
|
||||||
|
|
Loading…
Reference in New Issue