mirror of
https://github.com/nmap/nmap.git
synced 2025-12-07 13:11:28 +00:00
Comment some empty blocks. #1834
This commit is contained in:
1
nmap.cc
1
nmap.cc
@@ -1385,6 +1385,7 @@ void parse_options(int argc, char **argv) {
|
|||||||
o.max_parallelism = 1;
|
o.max_parallelism = 1;
|
||||||
o.scan_delay = 400;
|
o.scan_delay = 400;
|
||||||
} else if (*optarg == '3' || (strcasecmp(optarg, "Normal") == 0)) {
|
} else if (*optarg == '3' || (strcasecmp(optarg, "Normal") == 0)) {
|
||||||
|
// Default timing, see NmapOps.cc
|
||||||
} else if (*optarg == '4' || (strcasecmp(optarg, "Aggressive") == 0)) {
|
} else if (*optarg == '4' || (strcasecmp(optarg, "Aggressive") == 0)) {
|
||||||
o.timing_level = 4;
|
o.timing_level = 4;
|
||||||
o.setMinRttTimeout(100);
|
o.setMinRttTimeout(100);
|
||||||
|
|||||||
@@ -242,6 +242,7 @@ void nsock_connect_internal(struct npool *ms, struct nevent *nse, int type, int
|
|||||||
#endif
|
#endif
|
||||||
#if HAVE_SYS_UN_H
|
#if HAVE_SYS_UN_H
|
||||||
else if (ss->ss_family == AF_UNIX) {
|
else if (ss->ss_family == AF_UNIX) {
|
||||||
|
/* Nothing more to do for Unix socket */
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#if HAVE_LINUX_VM_SOCKETS_H
|
#if HAVE_LINUX_VM_SOCKETS_H
|
||||||
|
|||||||
Reference in New Issue
Block a user