summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/socket/ntapi_sc_listen.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/socket/ntapi_sc_listen.c b/src/socket/ntapi_sc_listen.c
index 8f7fb0d..0fc0d87 100644
--- a/src/socket/ntapi_sc_listen.c
+++ b/src/socket/ntapi_sc_listen.c
@@ -22,9 +22,9 @@ int32_t __cdecl __ntapi_sc_listen(
iosb = iosb ? iosb : &siosb;
/* afd_listen */
- afd_listen.unknown_1st = 0;
- afd_listen.unknown_2nd = 0;
- afd_listen.backlog = (uint32_t)backlog;
+ afd_listen.unknown = 0;
+ afd_listen.flags = 0;
+ afd_listen.backlog = (uint32_t)backlog;
hssocket->iostatus = __ntapi->zw_device_io_control_file(
hssocket->hsocket,