mirror of
https://github.com/nmap/nmap.git
synced 2025-12-25 00:49:01 +00:00
sed -i 's/if ( /if (/g' *.cc *.h; sed -i 's/for ( /for (/g' *.cc *.h; sed -i 's/( /(/g' nmap_amigaos.h tcpip.h service_scan.cc
There's still quite a lot of code like this, nse_openssl.cc being most messy IMHO. Also, I left out "if( something )" syntax.
This commit is contained in:
@@ -1848,7 +1848,7 @@ int FPHost6::build_probe_list() {
|
||||
i++;
|
||||
|
||||
/* Set untimed TCP probes */
|
||||
for ( ; i < NUM_FP_PROBES_IPv6_TCP; i++) {
|
||||
for (; i < NUM_FP_PROBES_IPv6_TCP; i++) {
|
||||
/* If the probe is targeted to a TCP port and we don't have
|
||||
* any port number for that particular state, skip the probe. */
|
||||
if (TCP_DESCS[i].dstport == OPEN && this->open_port_tcp < 0)
|
||||
|
||||
Reference in New Issue
Block a user