Skip to content

Commit e417910

Browse files
ivylrbernon
authored andcommitted
ntdll: Use the correct io callback when writing to a socket.
Fixes development builds of Unreal Engine games freezing when connecting via Unreal Insights. (cherry picked from commit 6d6451f)
1 parent dbd001c commit e417910

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dlls/ntdll/unix/socket.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1238,7 +1238,7 @@ NTSTATUS sock_write( HANDLE handle, int fd, HANDLE event, PIO_APC_ROUTINE apc,
12381238
static const DWORD async_size = offsetof( struct async_send_ioctl, iov[1] );
12391239
struct async_send_ioctl *async;
12401240

1241-
if (!(async = (struct async_send_ioctl *)alloc_fileio( async_size, async_recv_proc, handle )))
1241+
if (!(async = (struct async_send_ioctl *)alloc_fileio( async_size, async_send_proc, handle )))
12421242
return STATUS_NO_MEMORY;
12431243

12441244
async->count = 1;

0 commit comments

Comments
 (0)