mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
[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 svn path=/trunk/; revision=48545
This commit is contained in:
@@ -586,13 +586,15 @@ ioctlsocket(IN SOCKET s,
|
||||
IN LONG cmd,
|
||||
IN OUT ULONG FAR* argp)
|
||||
{
|
||||
ULONG tmp;
|
||||
|
||||
return WSAIoctl(s,
|
||||
cmd,
|
||||
argp,
|
||||
sizeof(ULONG),
|
||||
argp,
|
||||
sizeof(ULONG),
|
||||
argp,
|
||||
&tmp,
|
||||
0,
|
||||
0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user