mirror of
https://github.com/nmap/nmap.git
synced 2025-12-10 09:49:05 +00:00
Fix weird double variable declaration.
It seemed to run fine even with this.
This commit is contained in:
@@ -434,7 +434,7 @@ end
|
||||
-- This function should be used for all dates emitted as part of NSE structured
|
||||
-- output.
|
||||
function format_timestamp(t, offset)
|
||||
local tz_string tz_string = format_tz(offset)
|
||||
local tz_string = format_tz(offset)
|
||||
offset = offset or 0
|
||||
return os.date("!%Y-%m-%dT%H:%M:%S", t + offset) .. tz_string
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user