mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 08:55:19 +00:00
[WS2_32]
- Check the return value of WSPSelect instead of the error number because the error number doesn't have to be initialized if the function doesn't return SOCKET_ERROR svn path=/trunk/; revision=48491
This commit is contained in:
parent
f1a6ba977a
commit
f83e778875
1 changed files with 1 additions and 1 deletions
|
@ -459,7 +459,7 @@ select(IN INT nfds,
|
|||
|
||||
DereferenceProviderByPointer(Provider);
|
||||
|
||||
if (Errno != NO_ERROR)
|
||||
if (Count == SOCKET_ERROR)
|
||||
{
|
||||
WSASetLastError(Errno);
|
||||
return SOCKET_ERROR;
|
||||
|
|
Loading…
Reference in a new issue