>From 03efb435b45f51f49b49ca1b425d0ebab2e3dcea Mon Sep 17 00:00:00 2001 From: Nikolay Sivov Date: Mon, 31 Oct 2011 16:44:28 +0300 Subject: [PATCH 1/2] Fix trace formats to match all other files --- dlls/msxml3/parseerror.c | 11 ++++++----- 1 files changed, 6 insertions(+), 5 deletions(-) diff --git a/dlls/msxml3/parseerror.c b/dlls/msxml3/parseerror.c index 3f5c59f..8e67816 100644 --- a/dlls/msxml3/parseerror.c +++ b/dlls/msxml3/parseerror.c @@ -60,7 +60,9 @@ static HRESULT WINAPI parseError_QueryInterface( REFIID riid, void** ppvObject ) { - TRACE("(%p)->(%s %p)\n", iface, debugstr_guid(riid), ppvObject); + parse_error_t *This = impl_from_IXMLDOMParseError( iface ); + + TRACE("(%p)->(%s %p)\n", This, debugstr_guid(riid), ppvObject); if ( IsEqualGUID( riid, &IID_IUnknown ) || IsEqualGUID( riid, &IID_IDispatch ) || @@ -85,7 +87,7 @@ static ULONG WINAPI parseError_AddRef( { parse_error_t *This = impl_from_IXMLDOMParseError( iface ); ULONG ref = InterlockedIncrement( &This->ref ); - TRACE("(%p) ref now %d\n", This, ref); + TRACE("(%p)->(%d)\n", This, ref); return ref; } @@ -93,10 +95,9 @@ static ULONG WINAPI parseError_Release( IXMLDOMParseError *iface ) { parse_error_t *This = impl_from_IXMLDOMParseError( iface ); - ULONG ref; + ULONG ref = InterlockedDecrement( &This->ref ); - ref = InterlockedDecrement( &This->ref ); - TRACE("(%p) ref now %d\n", This, ref); + TRACE("(%p)->(%d)\n", This, ref); if ( ref == 0 ) { SysFreeString(This->url); -- 1.5.6.5