1
0
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:
david
2013-06-13 15:22:09 +00:00
parent e9c6e5b925
commit dcca84eb0d

View File

@@ -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