mirror of
https://github.com/reactos/reactos.git
synced 2025-04-20 12:29:56 +00:00
[WS2_32]
set LastError to 0 when WSASendTo was successful svn path=/trunk/; revision=47440
This commit is contained in:
parent
aa5ababad0
commit
07f8aeb0e8
1 changed files with 2 additions and 0 deletions
|
@ -410,6 +410,8 @@ WSASendTo(IN SOCKET s,
|
||||||
|
|
||||||
if (Code == SOCKET_ERROR)
|
if (Code == SOCKET_ERROR)
|
||||||
WSASetLastError(Errno);
|
WSASetLastError(Errno);
|
||||||
|
else
|
||||||
|
WSASetLastError(0);
|
||||||
|
|
||||||
return Code;
|
return Code;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue