Author: cwittich
Date: Sun May 30 13:25:21 2010
New Revision: 47440
URL:
http://svn.reactos.org/svn/reactos?rev=47440&view=rev
Log:
[WS2_32]
set LastError to 0 when WSASendTo was successful
Modified:
trunk/reactos/dll/win32/ws2_32/misc/sndrcv.c
Modified: trunk/reactos/dll/win32/ws2_32/misc/sndrcv.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/ws2_32/misc/sndr…
==============================================================================
--- trunk/reactos/dll/win32/ws2_32/misc/sndrcv.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/ws2_32/misc/sndrcv.c [iso-8859-1] Sun May 30 13:25:21 2010
@@ -410,6 +410,8 @@
if (Code == SOCKET_ERROR)
WSASetLastError(Errno);
+ else
+ WSASetLastError(0);
return Code;
}