Fixes warning

This commit is contained in:
Luca Deri 2023-02-27 10:37:02 +01:00
parent 2cf25bc54c
commit 2cd1f486ac

View file

@ -53,6 +53,7 @@ LuaEngine* CustomFlowLuaScript::initVM(const char *script_path) {
lua->load_script((char*)where, NULL /* NetworkInterface filled later via lua->setFlow(f); */);
ntop->getTrace()->traceEvent(TRACE_NORMAL, "Loaded custom user script %s", where);
} catch(std::bad_alloc& ba) {
lua = NULL;
ntop->getTrace()->traceEvent(TRACE_ERROR, "Unable to start Lua interpreter.");
}