mirror of
https://github.com/nmap/nmap.git
synced 2025-12-31 03: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:
@@ -131,7 +131,7 @@
|
||||
extern NmapOps o;
|
||||
|
||||
struct ftpinfo get_default_ftpinfo(void) {
|
||||
#if (defined(IN_ADDR_DEEPSTRUCT) || defined( SOLARIS))
|
||||
#if (defined(IN_ADDR_DEEPSTRUCT) || defined(SOLARIS))
|
||||
/* Note that struct in_addr in solaris is 3 levels deep just to store an
|
||||
* unsigned int! */
|
||||
struct ftpinfo ftp = { FTPUSER, FTPPASS, "", { { { 0 } } } , 21, 0};
|
||||
|
||||
Reference in New Issue
Block a user