summaryrefslogtreecommitdiffhomepage
path: root/src/socket
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-06-16 13:16:44 -0400
committermidipix <writeonce@midipix.org>2016-06-16 13:16:44 -0400
commit0dbb409e399efe3ff884344365c2c6b7ff2f5b6a (patch)
tree382b2f2831d4f8b1f9b9b452434c6ed9b7ae3929 /src/socket
parentf34a581ad421ef112a5f2cb9da12fa15693e2156 (diff)
downloadntapi-0dbb409e399efe3ff884344365c2c6b7ff2f5b6a.tar.bz2
ntapi-0dbb409e399efe3ff884344365c2c6b7ff2f5b6a.tar.xz
nt_socket.h: struct _nt_afd_listen_info: fix definition.
Diffstat (limited to 'src/socket')
-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,