mirror of
https://github.com/nmap/nmap.git
synced 2026-01-07 06:59:03 +00:00
Spelling fixes for Lua files
Mostly in documentation/comments, but a couple code bugs were caught, including a call to stdnse.pirnt_debug and a mis-declared variable.
This commit is contained in:
@@ -133,11 +133,11 @@ action = function(host, port)
|
||||
if ( status ) then
|
||||
local status, fsize = afpHelper:GetFileSize( vol, item.name)
|
||||
if ( not(status) ) then
|
||||
return ("\n\nERROR: Failed to retreive file size for %/%s"):format(vol, item.name)
|
||||
return ("\n\nERROR: Failed to retrieve file size for %/%s"):format(vol, item.name)
|
||||
end
|
||||
local status, date = afpHelper:GetFileDates( vol, item.name)
|
||||
if ( not(status) ) then
|
||||
return ("\n\nERROR: Failed to retreive file dates for %/%s"):format(vol, item.name)
|
||||
return ("\n\nERROR: Failed to retrieve file dates for %/%s"):format(vol, item.name)
|
||||
end
|
||||
|
||||
tab.addrow(file_tab, result.privs, result.uid, result.gid, fsize, date.create, item.name)
|
||||
@@ -156,7 +156,7 @@ action = function(host, port)
|
||||
status, response = afpHelper:Logout()
|
||||
status, response = afpHelper:CloseSession()
|
||||
|
||||
-- stop after first succesfull attempt
|
||||
-- stop after first successful attempt
|
||||
if ( output and #output > 0 ) then
|
||||
table.insert(output, "")
|
||||
table.insert(output, ("Information retrieved as: %s"):format(username))
|
||||
|
||||
Reference in New Issue
Block a user