diff options
author | midipix <writeonce@midipix.org> | 2016-07-21 10:58:29 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-07-24 06:15:13 -0400 |
commit | c26174a7fb2eb57dd26ac3dd31e987d5199e5bc7 (patch) | |
tree | 1a424ac8ff28237d75003ee9e241133c3c4ff387 /src/pty | |
parent | e73fb6abab99e815e6b6d7f40907d532de16eaae (diff) | |
download | ptycon-c26174a7fb2eb57dd26ac3dd31e987d5199e5bc7.tar.bz2 ptycon-c26174a7fb2eb57dd26ac3dd31e987d5199e5bc7.tar.xz |
struct ptyc_driver_ctx_impl: added a pointer to the process's runtime data.
Diffstat (limited to 'src/pty')
-rw-r--r-- | src/pty/ptyc_spawn.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/pty/ptyc_spawn.c b/src/pty/ptyc_spawn.c index 93b8237..9ad8e9b 100644 --- a/src/pty/ptyc_spawn.c +++ b/src/pty/ptyc_spawn.c @@ -62,9 +62,7 @@ int __stdcall ptyc_spawn(struct ptyc_driver_ctx * dctx) if (!dctx->cctx->eargv) return NT_STATUS_SUCCESS; - if ((status = ntapi->tt_get_runtime_data(&self,0))) - return status; - + self = ictx->rtdata; clctx = &ictx->clctx; /* hat */ |