1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-20 13:19:01 +00:00

get rid of a warning

This commit is contained in:
kris
2010-07-07 01:25:20 +00:00
parent aca3354d0a
commit 05abf37ead

View File

@@ -1186,7 +1186,7 @@ int AllProbes::check_excluded_port(unsigned short portno, int proto)
if (global_AP == NULL)
fatal("Failed to check the list of excluded ports: %s", __func__);
if (excluded = global_AP->isExcluded(portno, proto)) {
if ((excluded = global_AP->isExcluded(portno, proto))) {
if (o.debugging)
log_write(LOG_PLAIN, "EXCLUDING %d/%s\n",
portno, IPPROTO2STR(proto));