1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-29 02:49:01 +00:00

Minor change to Kris' change to make nmap.registry.args always available.

Avoided using strdup() although it's minor.
This commit is contained in:
batrick
2008-06-03 02:17:10 +00:00
parent ec3d31ad7a
commit 2cea96ea2b
2 changed files with 2 additions and 2 deletions

View File

@@ -459,7 +459,7 @@ void NmapOps::ValidateOptions() {
/* Make sure nmap.registry.args is available (even if it's empty) */
if (!scriptargs)
scriptargs = strdup("");
scriptargs = "";
}
void NmapOps::setMaxOSTries(int mot) {