1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-26 17:39:03 +00:00

o [NSE] Applied patch from Daniel Miller that fixes bug in several scripts and

libraries http://seclists.org/nmap-dev/2012/q2/593 [Daniel Miller]
This commit is contained in:
patrik
2012-06-04 04:37:29 +00:00
parent 98f74051bb
commit b683234f45
4 changed files with 8 additions and 8 deletions

View File

@@ -746,7 +746,7 @@ end
-- @param fqdn containing the fully qualified domain name
-- @return encQ containing the encoded value
local function encodeFQDN(fqdn)
if ( not(fqdn) or #fqdn == 0 ) then return end
if ( not(fqdn) or #fqdn == 0 ) then return string.char(0) end
local parts = stdnse.strsplit("%.", fqdn)
local encQ = ""