From 05abf37eadabf88b71fda8687667cfb530edfe30 Mon Sep 17 00:00:00 2001 From: kris Date: Wed, 7 Jul 2010 01:25:20 +0000 Subject: [PATCH] get rid of a warning --- service_scan.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service_scan.cc b/service_scan.cc index 842e370e3..425b176b0 100644 --- a/service_scan.cc +++ b/service_scan.cc @@ -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));