diff --git a/CHANGELOG b/CHANGELOG index fec85b480..44c548456 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,5 +1,9 @@ # Nmap Changelog ($Id$); -*-text-*- +o Removed some non-ANSI-C strftime format strings ("%F") and + locale-dependent formats ("%c") from NSE scripts and libraries. + C99-specified %F was noticed by Alex Weber. [Daniel Miller] + o [Zenmap] Added Polish translation by Jacek Wielemborek. o [NSE] Added http-coldfusion-subzero. It detects Coldfusion 9 and 10 diff --git a/nselib/natpmp.lua b/nselib/natpmp.lua index 4a8edfc3a..9eb69bcf3 100644 --- a/nselib/natpmp.lua +++ b/nselib/natpmp.lua @@ -9,7 +9,6 @@ local bin = require "bin" local ipOps = require "ipOps" local nmap = require "nmap" -local os = require "os" local stdnse = require "stdnse" _ENV = stdnse.module("natpmp", stdnse.seeall) @@ -104,7 +103,7 @@ Response = { pos, self.time, self.ip = bin.unpack("