summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-07-18 06:13:45 -0400
committermidipix <writeonce@midipix.org>2016-07-18 06:13:45 -0400
commitf4367d91199040ac46c9e32d8217786390b64487 (patch)
tree2669e59b5e09687995d00374ce8c2b216c82293e
parent54abedf993470fd41b5defeb7c15115ed22bce98 (diff)
downloadntapi-f4367d91199040ac46c9e32d8217786390b64487.tar.bz2
ntapi-f4367d91199040ac46c9e32d8217786390b64487.tar.xz
pty layer: __ntapi_pty_inherit(): obtain hpty from the server.
-rw-r--r--src/pty/ntapi_pty_fd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pty/ntapi_pty_fd.c b/src/pty/ntapi_pty_fd.c
index 58116df..a2701a9 100644
--- a/src/pty/ntapi_pty_fd.c
+++ b/src/pty/ntapi_pty_fd.c
@@ -264,6 +264,7 @@ int32_t __stdcall __ntapi_pty_inherit(
&ctx->guid,
&inherit.guid);
+ ctx->hpty = inherit.hpty;
ctx->access = inherit.access;
ctx->flags = inherit.flags;
ctx->share = inherit.share;