summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-07-17 10:26:30 -0400
committermidipix <writeonce@midipix.org>2016-07-21 03:47:29 -0400
commit107e968247f2f44ff54a72d0281b974a7926ca44 (patch)
tree101264c5979df63b8482932b15830d0ad4994481 /src
parentd881b6e81e20267c192f6c05c628eecd061b0f42 (diff)
downloadptycon-107e968247f2f44ff54a72d0281b974a7926ca44.tar.bz2
ptycon-107e968247f2f44ff54a72d0281b974a7926ca44.tar.xz
pty layer: always open both ends of the pty channel.
Diffstat (limited to 'src')
-rw-r--r--src/pty/ptyc_pty_ctx.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/pty/ptyc_pty_ctx.c b/src/pty/ptyc_pty_ctx.c
index f903523..f0e416d 100644
--- a/src/pty/ptyc_pty_ctx.c
+++ b/src/pty/ptyc_pty_ctx.c
@@ -196,12 +196,6 @@ int ptyc_alloc_pty(struct ptyc_driver_ctx * dctx)
return ptyc_set_status(
dctx,status);
- if (!dctx->units[0]
- && !(cctx->drvflags & PTYC_DRIVER_DBG_OVEN)
- && !(cctx->drvflags & PTYC_DRIVER_DBG_RAW))
- return ptyc_set_status(
- dctx,NT_STATUS_SUCCESS);
-
if ((status = ptyc_pts_open(cctx)))
return ptyc_set_status(
dctx,status);