Nikolay Sivov : msxml3: Fix trace formats to match all other files.
Alexandre Julliard
julliard at winehq.org
Tue Nov 1 13:23:17 CDT 2011
Module: wine
Branch: master
Commit: 32d217d2e3d9f5da79d8456d474e536ba38752b6
URL: http://source.winehq.org/git/wine.git/?a=commit;h=32d217d2e3d9f5da79d8456d474e536ba38752b6
Author: Nikolay Sivov <nsivov at codeweavers.com>
Date: Mon Oct 31 16:44:28 2011 +0300
msxml3: 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);
More information about the wine-cvs
mailing list