ws2_32: Add parameters TRACE for WS_EnumProtocols.

This commit is contained in:
Bruno Jesus 2013-09-06 09:13:53 -03:00 committed by Alexandre Julliard
parent 52b1adcd6e
commit 0b03dc93e9

View File

@ -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;