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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user