1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-07 13:11:28 +00:00

OS detection changes to improve timing/reliability, print fprint in more cases, etc. Also some tiny changes from Kris Katterjohn

This commit is contained in:
fyodor
2006-08-24 04:06:08 +00:00
parent 1a50feefd3
commit a15e1e0f05
9 changed files with 166 additions and 67 deletions

View File

@@ -138,7 +138,7 @@ static BOOL OpenLibs(void) {
extern NmapOps o; /* option structure */
extern char **environ;
int main(int argc, char *argv[], char *envp[]) {
int main(int argc, char *argv[]) {
/* The "real" main is nmap_main(). This function hijacks control at the
beginning to do the following:
1) Check if Nmap called under name listed in INTERACTIVE_NAMES or with
@@ -314,7 +314,7 @@ int main(int argc, char *argv[], char *envp[]) {
} else fatal("Arguments too long.");
}
}
/* First we stick our arguments into envp */
if (o.debugging) {
error("Adding to environment: %s", nmapargs);
}