392ff9
__ntapi_dsr_connect_internal_client((): remove timeout (designated thread).
@@ -33,7 +33,6 @@ int32_t __stdcall __ntapi_dsr_connect_internal_client(nt_daemon_params * params)
|
|
33
33
|
int32_t status;
|
34
34
|
intptr_t port_id;
|
35
35
|
nt_port_message port_msg;
|
36
|
-
nt_large_integer timeout;
|
37
36
|
void * hport;
|
38
37
|
void * hready;
|
39
38
|
|
@@ -45,15 +44,10 @@ int32_t __stdcall __ntapi_dsr_connect_internal_client(nt_daemon_params * params)
|
|
45
44
|
¶ms->exit_code_daemon_start,
|
46
45
|
NT_STATUS_MORE_PROCESSING_REQUIRED);
|
47
46
|
|
48
|
-
/*
|
49
|
-
|
47
|
+
/* first connection */
|
48
|
+
if ((status = __ntapi->zw_reply_wait_receive_port(
|
50
|
-
|
51
|
-
if ((status = __ntapi->zw_reply_wait_receive_port_ex(
|
52
49
|
params->hport_daemon,
|
53
|
-
&port_id,
|
50
|
+
&port_id,0,&port_msg)))
|
54
|
-
(nt_port_message *)0,
|
55
|
-
(nt_port_message *)&port_msg,
|
56
|
-
&timeout)))
|
57
51
|
return status;
|
58
52
|
|
59
53
|
/* the internal client must be first */
|
@@ -151,4 +145,4 @@ int32_t __stdcall __ntapi_dsr_internal_client_connect(nt_daemon_params * params)
|
|
151
145
|
return __ntapi_tt_seh_frame(
|
152
146
|
params,0,0,
|
153
147
|
__ntapi_dsr_internal_client_connect_impl);
|
154
|
-
}
|
148
|
+
}
|