From 66fea779056755561c3302c5b38c6815e5fd96f1 Mon Sep 17 00:00:00 2001 From: dmiller Date: Tue, 3 Mar 2026 21:36:53 +0000 Subject: [PATCH] Fix typo --- ncat/ncat_exec_win.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ncat/ncat_exec_win.c b/ncat/ncat_exec_win.c index 0125d88e0..c46709c21 100644 --- a/ncat/ncat_exec_win.c +++ b/ncat/ncat_exec_win.c @@ -573,9 +573,9 @@ static DWORD WINAPI subprocess_thread_func(void *data) /* Read succeeded, but also check for FD_CLOSE error that was * cleared and won't be signaled again */ if (triggered.lNetworkEvents & FD_CLOSE) { - if (o.debug && triggered.iErrorCodes[FD_CLOSE_BIT]) { + if (o.debug && triggered.iErrorCode[FD_CLOSE_BIT]) { logdebug("Connection closed for fd %d: %s.\n", info->fdn.fd, - socket_strerror(triggered.iErrorCodes[FD_CLOSE_BIT])); + socket_strerror(triggered.iErrorCode[FD_CLOSE_BIT])); } PIPE_CLOSE(PIPE_IN); }