mirror of
https://github.com/reactos/reactos.git
synced 2026-06-05 03:02:59 +08:00
Make AsyncData point to the allocated memory instead of overwriting some
random memory locations svn path=/trunk/; revision=12357
This commit is contained in:
@@ -33,7 +33,7 @@ WSPAsyncSelect(
|
||||
Socket = GetSocketStructure(Handle);
|
||||
|
||||
/* Allocate the Async Data Structure to pass on to the Thread later */
|
||||
HeapAlloc(GetProcessHeap(), 0, sizeof(*AsyncData));
|
||||
AsyncData = HeapAlloc(GetProcessHeap(), 0, sizeof(*AsyncData));
|
||||
|
||||
/* Change the Socket to Non Blocking */
|
||||
BlockMode = 1;
|
||||
|
||||
Reference in New Issue
Block a user