Author: dmiller
Date: Tue Mar  3 13:36:53 2026
New Revision: 39354

Log:
Fix typo

Modified:
   nmap/ncat/ncat_exec_win.c

Modified: nmap/ncat/ncat_exec_win.c
==============================================================================
--- nmap/ncat/ncat_exec_win.c   (original)
+++ nmap/ncat/ncat_exec_win.c   Tue Mar  3 13:36:53 2026
@@ -573,9 +573,9 @@
             /* 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);
             }

_______________________________________________
Sent through the svn mailing list
https://nmap.org/mailman/listinfo/svn

Reply via email to