mirror of
https://github.com/nmap/nmap.git
synced 2025-12-29 10:59:02 +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:
@@ -119,7 +119,7 @@ function action(host,port)
|
||||
local respname = ( #response >= 5 ) and response[5]
|
||||
|
||||
if ( rescode ~= 0 ) then
|
||||
local errmsg = ( #response >= 4 ) and response[4] or "An unknown error occured"
|
||||
local errmsg = ( #response >= 4 ) and response[4] or "An unknown error occurred"
|
||||
return "\n ERROR: " .. errmsg
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user