[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    [PATCH 3/6] webservices: Add traces.
From:       Hans Leidekker <hans () codeweavers ! com>
Date:       2018-10-31 13:21:28
Message-ID: 20181031132131.9498-3-hans () codeweavers ! com
[Download RAW message or body]

Signed-off-by: Hans Leidekker <hans@codeweavers.com>
---
 dlls/webservices/channel.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/dlls/webservices/channel.c b/dlls/webservices/channel.c
index 91ffe5be00..b995a86c92 100644
--- a/dlls/webservices/channel.c
+++ b/dlls/webservices/channel.c
@@ -395,6 +395,11 @@ static HRESULT create_channel( WS_CHANNEL_TYPE type, \
WS_CHANNEL_BINDING binding,  
     for (i = 0; i < count; i++)
     {
+        TRACE( "property id %u value ptr %p size %u\n", properties[i].id, \
properties[i].value, +               properties[i].valueSize );
+        if (properties[i].valueSize == sizeof(ULONG) && properties[i].value)
+            TRACE( " value %08x\n", *(ULONG *)properties[i].value );
+
         switch (properties[i].id)
         {
         case WS_CHANNEL_PROPERTY_ENCODING:
@@ -623,6 +628,8 @@ static HRESULT open_channel( struct channel *channel, const \
WS_ENDPOINT_ADDRESS  return E_NOTIMPL;
     }
 
+    TRACE( "endpoint %s\n", debugstr_wn(endpoint->url.chars, endpoint->url.length) \
); +
     if (!(channel->addr.url.chars = heap_alloc( endpoint->url.length * sizeof(WCHAR) \
                ))) return E_OUTOFMEMORY;
     memcpy( channel->addr.url.chars, endpoint->url.chars, endpoint->url.length * \
sizeof(WCHAR) );  channel->addr.url.length = endpoint->url.length;
-- 
2.11.0


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic