1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-05 22:19:03 +00:00

Make some change to make --without-liblua work again.

This commit is contained in:
david
2008-08-05 19:28:51 +00:00
parent deeaaf9e77
commit 9621ab338a
4 changed files with 10 additions and 3 deletions

View File

@@ -462,9 +462,11 @@ void NmapOps::ValidateOptions() {
if(ipoptions && osscan)
error("WARNING: Ip options are NOT used while OS scanning!");
#ifndef NOLUA
/* Make sure nmap.registry.args is available (even if it's empty) */
if (!scriptargs)
scriptargs = strdup("");
#endif
}
void NmapOps::setMaxOSTries(int mot) {