From f68df9d91c53848bee9b60604c08b4d97fbc81d0 Mon Sep 17 00:00:00 2001 From: kris Date: Wed, 29 Aug 2007 22:28:22 +0000 Subject: [PATCH] Okay, I'm sorry for committing for just a whitespace issue, but this confused the hell out of me because I completely missed that assignment :) --- nmap.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nmap.cc b/nmap.cc index 0f8301596..79c8f7644 100644 --- a/nmap.cc +++ b/nmap.cc @@ -725,7 +725,8 @@ int nmap_main(int argc, char *argv[]) { if (o.min_parallelism > 100) { error("Warning: Your --min-parallelism option is pretty high! This can hurt reliability."); } - } else if (optcmp(long_options[option_index].name, "host-timeout") == 0) { l = tval2msecs(optarg); + } else if (optcmp(long_options[option_index].name, "host-timeout") == 0) { + l = tval2msecs(optarg); if (l <= 1500) fatal("--host-timeout is specified in milliseconds unless you qualify it by appending 's', 'm', 'h', or 'd'. The value must be greater than 1500 milliseconds"); pre_host_timeout = l; if (l < 15000) {