Hans Leidekker : webservices: Add traces.

Alexandre Julliard julliard at winehq.org
Wed Oct 31 15:58:33 CDT 2018


Module: wine
Branch: master
Commit: 3b7fd4ffed6de134c5c0c4b7797fe0469f67ea0c
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=3b7fd4ffed6de134c5c0c4b7797fe0469f67ea0c

Author: Hans Leidekker <hans at codeweavers.com>
Date:   Wed Oct 31 14:21:28 2018 +0100

webservices: Add traces.

Signed-off-by: Hans Leidekker <hans at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/webservices/channel.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/dlls/webservices/channel.c b/dlls/webservices/channel.c
index 91ffe5b..b995a86 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;




More information about the wine-cvs mailing list