From dcca84eb0d9ccdb881a160aaeb65f719dd74981c Mon Sep 17 00:00:00 2001 From: david Date: Thu, 13 Jun 2013 15:22:09 +0000 Subject: [PATCH] Fix weird double variable declaration. It seemed to run fine even with this. --- nselib/stdnse.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nselib/stdnse.lua b/nselib/stdnse.lua index e3f92b1d7..c228a66ef 100644 --- a/nselib/stdnse.lua +++ b/nselib/stdnse.lua @@ -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