1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-07 13:11:28 +00:00

Fix a constant conditional

This commit is contained in:
dmiller
2014-11-11 22:15:52 +00:00
parent e4417d132e
commit df50e3091e

View File

@@ -603,7 +603,7 @@ void FPNetworkControl::response_reception_handler(nsock_pool nsp, nsock_event ns
} else if (status == NSE_STATUS_EOF) { } else if (status == NSE_STATUS_EOF) {
if (o.debugging) if (o.debugging)
log_write(LOG_PLAIN, "response_reception_handler(): EOF\n"); log_write(LOG_PLAIN, "response_reception_handler(): EOF\n");
} else if (status == NSE_STATUS_ERROR || NSE_STATUS_PROXYERROR) { } else if (status == NSE_STATUS_ERROR || status == NSE_STATUS_PROXYERROR) {
if (o.debugging) if (o.debugging)
log_write(LOG_PLAIN, "response_reception_handler(): %s failed: %s\n", nse_type2str(type), strerror(socket_errno())); log_write(LOG_PLAIN, "response_reception_handler(): %s failed: %s\n", nse_type2str(type), strerror(socket_errno()));
} else if (status == NSE_STATUS_TIMEOUT) { } else if (status == NSE_STATUS_TIMEOUT) {