[PATCH 3/6] webservices: Add traces.

Hans Leidekker hans at codeweavers.com
Wed Oct 31 08:21:28 CDT 2018


Signed-off-by: Hans Leidekker <hans at 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




More information about the wine-devel mailing list