Huw Davies : rpcrt4: Don't advance the buffer for FC_STRUCTPAD2.

Alexandre Julliard julliard at wine.codeweavers.com
Thu Jul 6 06:08:42 CDT 2006


Module: wine
Branch: refs/heads/master
Commit: 85ed9a59056da85751ecb688ffcd18c5e2291017
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=85ed9a59056da85751ecb688ffcd18c5e2291017

Author: Huw Davies <huw at codeweavers.com>
Date:   Mon Jul  3 21:52:48 2006 +0100

rpcrt4: Don't advance the buffer for FC_STRUCTPAD2.

---

 dlls/rpcrt4/ndr_marshall.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/dlls/rpcrt4/ndr_marshall.c b/dlls/rpcrt4/ndr_marshall.c
index 92c2f7a..6e51eaf 100644
--- a/dlls/rpcrt4/ndr_marshall.c
+++ b/dlls/rpcrt4/ndr_marshall.c
@@ -2002,7 +2002,6 @@ static unsigned long ComplexStructMemory
       break;
     case RPC_FC_STRUCTPAD2:
       size += 2;
-      pStubMsg->Buffer += 2;
       break;
     case RPC_FC_EMBEDDED_COMPLEX:
       size += pFormat[1];




More information about the wine-cvs mailing list