ws2_32: Better trace __WSAFDIsSet.
This commit is contained in:
parent
e729dba55d
commit
fe127ac36c
|
@ -6359,13 +6359,17 @@ SOCKET WINAPI WSAJoinLeaf(
|
|||
*/
|
||||
int WINAPI __WSAFDIsSet(SOCKET s, WS_fd_set *set)
|
||||
{
|
||||
int i = set->fd_count;
|
||||
|
||||
TRACE("(%ld,%p(%i))\n", s, set, i);
|
||||
int i = set->fd_count, ret = 0;
|
||||
|
||||
while (i--)
|
||||
if (set->fd_array[i] == s) return 1;
|
||||
return 0;
|
||||
if (set->fd_array[i] == s)
|
||||
{
|
||||
ret = 1;
|
||||
break;
|
||||
}
|
||||
|
||||
TRACE("(socket %04lx, fd_set %p, count %i) <- %d", s, set, i, ret);
|
||||
return ret;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
|
|
Loading…
Reference in New Issue