1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-06 04:31:29 +00:00

Comment some empty blocks. #1834

This commit is contained in:
dmiller
2019-12-25 20:01:18 +00:00
parent be0818a664
commit ee32b56ebb
2 changed files with 2 additions and 0 deletions

View File

@@ -1385,6 +1385,7 @@ void parse_options(int argc, char **argv) {
o.max_parallelism = 1;
o.scan_delay = 400;
} else if (*optarg == '3' || (strcasecmp(optarg, "Normal") == 0)) {
// Default timing, see NmapOps.cc
} else if (*optarg == '4' || (strcasecmp(optarg, "Aggressive") == 0)) {
o.timing_level = 4;
o.setMinRttTimeout(100);

View File

@@ -242,6 +242,7 @@ void nsock_connect_internal(struct npool *ms, struct nevent *nse, int type, int
#endif
#if HAVE_SYS_UN_H
else if (ss->ss_family == AF_UNIX) {
/* Nothing more to do for Unix socket */
}
#endif
#if HAVE_LINUX_VM_SOCKETS_H