summaryrefslogtreecommitdiffhomepage
path: root/src/pty
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-06-06 22:43:59 +0000
committermidipix <writeonce@midipix.org>2018-06-06 21:49:35 -0400
commitcbd18a567736b5442275ba21ace1004f9777107a (patch)
treec6acb80194cd9153b7ad26760b09e64288da82ca /src/pty
parentb69287c10456cd47113d9a6b87e5fe246742e167 (diff)
downloadntapi-cbd18a567736b5442275ba21ace1004f9777107a.tar.bz2
ntapi-cbd18a567736b5442275ba21ace1004f9777107a.tar.xz
internals: removed __ntapi_log_write(), as it is no longer needed.
Diffstat (limited to 'src/pty')
-rw-r--r--src/pty/ntapi_pty_fd.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/pty/ntapi_pty_fd.c b/src/pty/ntapi_pty_fd.c
index cc016ce..8d21fd0 100644
--- a/src/pty/ntapi_pty_fd.c
+++ b/src/pty/ntapi_pty_fd.c
@@ -9,7 +9,6 @@
#include <ntapi/nt_tty.h>
#include <ntapi/ntapi.h>
#include "ntapi_impl.h"
-#include "ntapi_log.h"
#include "ntapi_pty.h"
static int32_t __stdcall __ntapi_pty_open_close(
@@ -145,8 +144,7 @@ static int32_t __ntapi_pty_connect(
ctx->section_addr = 0;
/* resilience */
- if (!ctx->section_addr) {
- __ntapi_log_write("__ntapi_pty_connect:149\n",24);
+ if (!ctx->section_addr)
if ((status = __ntapi->zw_map_view_of_section(
ctx->section,
NT_CURRENT_PROCESS_HANDLE,
@@ -156,8 +154,6 @@ static int32_t __ntapi_pty_connect(
NT_VIEW_UNMAP,0,
NT_PAGE_READWRITE)))
return __ntapi_pty_fail(ctx,status);
- __ntapi_log_write("__ntapi_pty_connect:159\n",24);
- }
/* assume conforming clients, config for single lock try */
__ntapi->tt_sync_block_init(&ctx->sync[__PTY_READ],0,0,1,0,0);