mirror of
https://github.com/nmap/nmap.git
synced 2026-09-02 08:20:52 +00:00
Fix weird double variable declaration.
It seemed to run fine even with this.
This commit is contained in:
parent
e9c6e5b925
commit
dcca84eb0d
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue