summaryrefslogtreecommitdiffhomepage
path: root/src/daemon/ptyc_daemon_loop.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/daemon/ptyc_daemon_loop.c')
-rw-r--r--src/daemon/ptyc_daemon_loop.c6
1 files changed, 3 insertions, 3 deletions
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)