Module: wine Branch: master Commit: 0b03dc93e96edec9c5d0aad0e4f8344d084b5c9e URL: http://source.winehq.org/git/wine.git/?a=commit;h=0b03dc93e96edec9c5d0aad0e4...
Author: Bruno Jesus 00cpxxx@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;