projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[WS2_32]
[reactos.git]
/
reactos
/
dll
/
win32
/
ws2_32
/
misc
/
sndrcv.c
diff --git
a/reactos/dll/win32/ws2_32/misc/sndrcv.c
b/reactos/dll/win32/ws2_32/misc/sndrcv.c
index
f1b68fe
..
8fb4186
100644
(file)
--- a/
reactos/dll/win32/ws2_32/misc/sndrcv.c
+++ b/
reactos/dll/win32/ws2_32/misc/sndrcv.c
@@
-410,6
+410,8
@@
WSASendTo(IN SOCKET s,
if (Code == SOCKET_ERROR)
WSASetLastError(Errno);
+ else
+ WSASetLastError(0);
return Code;
}