1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-27 09:59:04 +00:00

Remove unnecessary string.format calls.

This commit is contained in:
batrick
2015-01-31 05:35:26 +00:00
parent 3200f16753
commit e3b3deb7c8
2 changed files with 4 additions and 4 deletions

View File

@@ -62,7 +62,7 @@ action = function(host, port)
local _, _, name = string.find(user_block, '<name>(.-)</name>')
local _,_, fName = string.find(user_block, '<fname>(.-)</fname>')
local _,_, ext = string.find(user_block, '<extn>(.-)</extn>')
stdnse.debug(1, string.format("User found!\nName: %s\nFull name: %s\nExt:%s", name, fName, ext))
stdnse.debug1("User found!\nName: %s\nFull name: %s\nExt:%s", name, fName, ext)
if name ~= nil or fName ~= nil or ext ~= nil then
local user = {}
user.name = name