From f4367d91199040ac46c9e32d8217786390b64487 Mon Sep 17 00:00:00 2001 From: midipix Date: Jul 18 2016 10:13:45 +0000 Subject: pty layer: __ntapi_pty_inherit(): obtain hpty from the server. --- 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;