1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-04 13:49:03 +00:00

nse_check_globals cleanup

This commit is contained in:
patrik
2012-08-02 05:25:15 +00:00
parent 1d2f6906f5
commit 37e9cadc3c
3 changed files with 8 additions and 5 deletions

View File

@@ -2,6 +2,7 @@ local shortport = require "shortport"
local stdnse = require "stdnse"
local table = require "table"
local bin = require "bin"
local nmap = require "nmap"
local os = require "os"
local string = require "string"
description = [[
@@ -105,7 +106,7 @@ end
-- extract time from ServerHello response
local extract_time = function(response)
local result
local shlength, npndata, protocol
local shlength, npndata, protocol, _
if not response then
stdnse.print_debug(SCRIPT_NAME .. ": Didn't get response.")