Bruno Jesus : ws2_32: Add parameters TRACE for WS_EnumProtocols.

Alexandre Julliard julliard at winehq.org
Fri Sep 6 12:39:52 CDT 2013


Module: wine
Branch: master
Commit: 0b03dc93e96edec9c5d0aad0e4f8344d084b5c9e
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=0b03dc93e96edec9c5d0aad0e4f8344d084b5c9e

Author: Bruno Jesus <00cpxxx at gmail.com>
Date:   Fri Sep  6 09:13:53 2013 -0300

ws2_32: Add parameters TRACE for WS_EnumProtocols.

---

 dlls/ws2_32/socket.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/dlls/ws2_32/socket.c b/dlls/ws2_32/socket.c
index a916772..38b47fc 100644
--- a/dlls/ws2_32/socket.c
+++ b/dlls/ws2_32/socket.c
@@ -1704,6 +1704,9 @@ static INT WS_EnumProtocols( BOOL unicode, const INT *protocols, LPWSAPROTOCOL_I
 
     size = items * (unicode ? sizeof(WSAPROTOCOL_INFOW) : sizeof(WSAPROTOCOL_INFOA));
 
+    TRACE("unicode %d, protocols %p, buffer %p, length %p %d, items %d, required %d\n",
+          unicode, protocols, buffer, len, len ? *len : 0, items, size);
+
     if (*len < size || !buffer)
     {
         *len = size;




More information about the wine-cvs mailing list