diff options
author | midipix <writeonce@midipix.org> | 2018-05-12 12:58:08 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2018-05-12 12:58:08 -0400 |
commit | 392ff94e13a35cfe738d5c3078dced3ff1fbaf29 (patch) | |
tree | 275e65db8efcc406c9eb8b4c886a883cd78e5855 | |
parent | 6a47931d980b8a417f769545eea1bda7b51afea9 (diff) | |
download | ntapi-392ff94e13a35cfe738d5c3078dced3ff1fbaf29.tar.bz2 ntapi-392ff94e13a35cfe738d5c3078dced3ff1fbaf29.tar.xz |
__ntapi_dsr_connect_internal_client((): remove timeout (designated thread).
-rw-r--r-- | src/daemon/ntapi_dsr_internal_connection.c | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/src/daemon/ntapi_dsr_internal_connection.c b/src/daemon/ntapi_dsr_internal_connection.c index 16fd613..fecc027 100644 --- a/src/daemon/ntapi_dsr_internal_connection.c +++ b/src/daemon/ntapi_dsr_internal_connection.c @@ -33,7 +33,6 @@ int32_t __stdcall __ntapi_dsr_connect_internal_client(nt_daemon_params * params) int32_t status; intptr_t port_id; nt_port_message port_msg; - nt_large_integer timeout; void * hport; void * hready; @@ -45,15 +44,10 @@ int32_t __stdcall __ntapi_dsr_connect_internal_client(nt_daemon_params * params) ¶ms->exit_code_daemon_start, NT_STATUS_MORE_PROCESSING_REQUIRED); - /* timeout-enabled first connection */ - timeout.quad = NT_DSR_INIT_MAX_WAIT; - - if ((status = __ntapi->zw_reply_wait_receive_port_ex( + /* first connection */ + if ((status = __ntapi->zw_reply_wait_receive_port( params->hport_daemon, - &port_id, - (nt_port_message *)0, - (nt_port_message *)&port_msg, - &timeout))) + &port_id,0,&port_msg))) return status; /* the internal client must be first */ @@ -151,4 +145,4 @@ int32_t __stdcall __ntapi_dsr_internal_client_connect(nt_daemon_params * params) return __ntapi_tt_seh_frame( params,0,0, __ntapi_dsr_internal_client_connect_impl); -}
\ No newline at end of file +} |