summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/daemon/ptyc_daemon_connect.c2
-rw-r--r--src/daemon/ptyc_daemon_loop.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/daemon/ptyc_daemon_connect.c b/src/daemon/ptyc_daemon_connect.c
index d5c9171..8e61d42 100644
--- a/src/daemon/ptyc_daemon_connect.c
+++ b/src/daemon/ptyc_daemon_connect.c
@@ -15,7 +15,7 @@ int32_t __stdcall ptyc_daemon_connect(nt_tty_port_msg * msg)
{
void * hport = 0;
- msg->ttyinfo.reserved = 0;
+ msg->ttyinfo.exarg = 0;
ntapi->zw_accept_connect_port(
&hport,
diff --git a/src/daemon/ptyc_daemon_loop.c b/src/daemon/ptyc_daemon_loop.c
index 932983e..2dcbbac 100644
--- a/src/daemon/ptyc_daemon_loop.c
+++ b/src/daemon/ptyc_daemon_loop.c
@@ -80,7 +80,7 @@ int32_t __stdcall ptyc_daemon_loop(void * ctx)
reply->header.msg_type = NT_LPC_REPLY;
if ((opcode >= PTYC_DAEMON_OPCODE_BASE) && (opcode < PTYC_DAEMON_OPCODE_CAP)) {
- reply->ttyinfo.reserved = (void *)request->header.client_id.process_id;
+ reply->ttyinfo.exarg = (void *)request->header.client_id.process_id;
opcode -= PTYC_DAEMON_OPCODE_BASE;
if (ptyc_daemon_vtbl[opcode])
@@ -88,14 +88,14 @@ int32_t __stdcall ptyc_daemon_loop(void * ctx)
else
reply->ttyinfo.status = NT_STATUS_NOT_IMPLEMENTED;
} else {
- reply->ttyinfo.reserved = NT_INVALID_HANDLE_VALUE;
+ reply->ttyinfo.exarg = NT_INVALID_HANDLE_VALUE;
reply->ttyinfo.status = NT_STATUS_LPC_INVALID_CONNECTION_USAGE;
}
ntapi->tt_aligned_block_memset(
request,0,sizeof(*request));
- reply = reply->ttyinfo.reserved
+ reply = reply->ttyinfo.exarg
? &outbuf : 0;
if (!reply)