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

@ -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];