Code cleanup

This commit is contained in:
Luca Deri 2017-12-16 08:23:56 +01:00
parent d271072d69
commit c9ecd931d9
31 changed files with 101 additions and 101 deletions

View file

@ -574,7 +574,7 @@ static int handle_lua_request(struct mg_connection *conn) {
len = (u_int)strlen(request_info->uri);
#ifdef HAVE_NEDGE
#ifdef HAVE_OLD_NEDGE
if(!ntop->getPro()->has_valid_license()) {
if (! ntop->getGlobals()->isShutdown()) {
ntop->getTrace()->traceEvent(TRACE_NORMAL, "License expired, shutting down...");