Fix ioctl() and FIONREAD for sockets on Windows

This change fixes an issue where using FIONREAD would cause control flow
to jump to null, due to a _weaken() reference that I refactored long ago
This commit is contained in:
Justine Tunney 2024-09-13 01:47:33 -07:00
parent 1260f9d0ed
commit 6b10f4d0b6
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
6 changed files with 77 additions and 9 deletions

View file

@ -38,7 +38,7 @@ struct SendArgs {
struct NtIovec iovnt[16];
};
static textwindows int sys_send_nt_start(int64_t handle,
textwindows static int sys_send_nt_start(int64_t handle,
struct NtOverlapped *overlap,
uint32_t *flags, void *arg) {
struct SendArgs *args = arg;