mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +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:
parent
0be662421f
commit
ccfa72f607
1 changed files with 3 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue