mirror of
https://github.com/nmap/nmap.git
synced 2026-10-20 19:01:56 +00:00
Make some change to make --without-liblua work again.
This commit is contained in:
parent
deeaaf9e77
commit
9621ab338a
4 changed files with 10 additions and 3 deletions
|
|
@ -836,7 +836,7 @@ log_write(LOG_PLAIN, "%d service%s unrecognized despite returning data. If you k
|
|||
}
|
||||
|
||||
#ifndef NOLUA
|
||||
char* formatScriptOutput(ScriptResult sr) {
|
||||
static char* formatScriptOutput(ScriptResult sr) {
|
||||
std::string result = std::string(), output = sr.get_output();
|
||||
string::size_type pos;
|
||||
char *c_result, *c_output = new char[output.length()+1];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue