Author: cgutman
Date: Sat Aug 14 13:48:31 2010
New Revision: 48545
URL:
http://svn.reactos.org/svn/reactos?rev=48545&view=rev
Log:
[WS2_32]
- Create a temporary variable and pass that to WSAIoctl for the bytes returned value
instead of passing argp and corrupting the value we just retrieved
Modified:
trunk/reactos/dll/win32/ws2_32/misc/dllmain.c
Modified: trunk/reactos/dll/win32/ws2_32/misc/dllmain.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/ws2_32/misc/dllm…
==============================================================================
--- trunk/reactos/dll/win32/ws2_32/misc/dllmain.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/ws2_32/misc/dllmain.c [iso-8859-1] Sat Aug 14 13:48:31 2010
@@ -586,13 +586,15 @@
IN LONG cmd,
IN OUT ULONG FAR* argp)
{
+ ULONG tmp;
+
return WSAIoctl(s,
cmd,
argp,
sizeof(ULONG),
argp,
sizeof(ULONG),
- argp,
+ &tmp,
0,
0);
}