From ea49d9c4e22762e4fefc7394fed55b9b2ec86706 Mon Sep 17 00:00:00 2001 From: kris Date: Tue, 29 May 2007 02:27:39 +0000 Subject: [PATCH] merging r4789:4790 from nmap-exp/soc07 -- fixing "--release_memory" option name --- nmap.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nmap.cc b/nmap.cc index 712be1bbf..2b81591cb 100644 --- a/nmap.cc +++ b/nmap.cc @@ -689,7 +689,7 @@ int nmap_main(int argc, char *argv[]) { } } else if (strcmp(long_options[option_index].name, "iflist") == 0 ) { iflist = true; - } else if (strcmp(long_options[option_index].name, "release-memory") == 0 ) { + } else if (optcmp(long_options[option_index].name, "release-memory") == 0 ) { o.release_memory = true; } else if (optcmp(long_options[option_index].name, "min-parallelism") == 0 ) { o.min_parallelism = atoi(optarg);