mirror of
https://github.com/nmap/nmap.git
synced 2025-12-06 04:31:29 +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:
8
main.cc
8
main.cc
@@ -142,10 +142,10 @@ struct Library *SocketBase = NULL, *MiamiBase = NULL, *MiamiBPFBase = NULL, *Mia
|
||||
static const char ver[] = "$VER:" NMAP_NAME " v"NMAP_VERSION " [Amiga.sf]";
|
||||
|
||||
static void CloseLibs(void) {
|
||||
if ( MiamiPCapBase ) CloseLibrary( MiamiPCapBase );
|
||||
if ( MiamiBPFBase ) CloseLibrary( MiamiBPFBase );
|
||||
if ( SocketBase ) CloseLibrary( SocketBase );
|
||||
if ( MiamiBase ) CloseLibrary( MiamiBase );
|
||||
if (MiamiPCapBase ) CloseLibrary( MiamiPCapBase );
|
||||
if (MiamiBPFBase ) CloseLibrary( MiamiBPFBase );
|
||||
if ( SocketBase ) CloseLibrary( SocketBase );
|
||||
if ( MiamiBase ) CloseLibrary( MiamiBase );
|
||||
}
|
||||
|
||||
static BOOL OpenLibs(void) {
|
||||
|
||||
Reference in New Issue
Block a user