Commit 727e25d6 authored by Robert Shearman's avatar Robert Shearman Committed by Alexandre Julliard

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

parent a674ec0f
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment