diff options
author | midipix <writeonce@midipix.org> | 2016-06-16 13:16:44 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-06-16 13:16:44 -0400 |
commit | 0dbb409e399efe3ff884344365c2c6b7ff2f5b6a (patch) | |
tree | 382b2f2831d4f8b1f9b9b452434c6ed9b7ae3929 | |
parent | f34a581ad421ef112a5f2cb9da12fa15693e2156 (diff) | |
download | ntapi-0dbb409e399efe3ff884344365c2c6b7ff2f5b6a.tar.bz2 ntapi-0dbb409e399efe3ff884344365c2c6b7ff2f5b6a.tar.xz |
nt_socket.h: struct _nt_afd_listen_info: fix definition.
-rw-r--r-- | include/ntapi/nt_socket.h | 4 | ||||
-rw-r--r-- | src/socket/ntapi_sc_listen.c | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/include/ntapi/nt_socket.h b/include/ntapi/nt_socket.h index 68dce1a..9479aa4 100644 --- a/include/ntapi/nt_socket.h +++ b/include/ntapi/nt_socket.h @@ -308,9 +308,9 @@ typedef struct _nt_afd_buffer { typedef struct _nt_afd_listen_info { - void * unknown_1st; + uint32_t unknown; uint32_t backlog; - void * unknown_2nd; + uint32_t flags; } nt_afd_listen_info; 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, |