Robert Shearman : rpcrt4: Improve the traces in the pointer functions.

Alexandre Julliard julliard at wine.codeweavers.com
Sun May 7 03:36:31 CDT 2006


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

Author: Robert Shearman <rob at codeweavers.com>
Date:   Mon May  1 10:36:52 2006 +0100

rpcrt4: Improve the traces in the pointer functions.

---

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

diff --git a/dlls/rpcrt4/ndr_marshall.c b/dlls/rpcrt4/ndr_marshall.c
index 66a4caa..bb8156b 100644
--- a/dlls/rpcrt4/ndr_marshall.c
+++ b/dlls/rpcrt4/ndr_marshall.c
@@ -809,7 +809,7 @@ void WINAPI PointerBufferSize(PMIDL_STUB
   NDR_BUFFERSIZE m;
 
   TRACE("(%p,%p,%p)\n", pStubMsg, Pointer, pFormat);
-  TRACE("type=%d, attr=%d\n", type, attr);
+  TRACE("type=0x%x, attr=", type); dump_pointer_attr(attr);
   pFormat += 2;
   if (attr & RPC_FC_P_SIMPLEPOINTER) desc = pFormat;
   else desc = pFormat + *(const SHORT*)pFormat;
@@ -851,7 +851,7 @@ unsigned long WINAPI PointerMemorySize(P
   NDR_MEMORYSIZE m;
 
   FIXME("(%p,%p,%p): stub\n", pStubMsg, Buffer, pFormat);
-  TRACE("type=%d, attr=", type); dump_pointer_attr(attr);
+  TRACE("type=0x%x, attr=", type); dump_pointer_attr(attr);
   pFormat += 2;
   if (attr & RPC_FC_P_SIMPLEPOINTER) desc = pFormat;
   else desc = pFormat + *(const SHORT*)pFormat;
@@ -886,7 +886,7 @@ void WINAPI PointerFree(PMIDL_STUB_MESSA
   NDR_FREE m;
 
   TRACE("(%p,%p,%p)\n", pStubMsg, Pointer, pFormat);
-  TRACE("type=%d, attr=", type); dump_pointer_attr(attr);
+  TRACE("type=0x%x, attr=", type); dump_pointer_attr(attr);
   if (attr & RPC_FC_P_DONTFREE) return;
   pFormat += 2;
   if (attr & RPC_FC_P_SIMPLEPOINTER) desc = pFormat;




More information about the wine-cvs mailing list