mirror of
https://github.com/nmap/nmap.git
synced 2025-12-26 09:29:01 +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:
@@ -108,8 +108,8 @@ XMPP = {
|
||||
|
||||
--- Creates a new instance of the XMPP class
|
||||
--
|
||||
-- @param host table as receieved by the action function
|
||||
-- @param port table as receieved by the action function
|
||||
-- @param host table as received by the action function
|
||||
-- @param port table as received by the action function
|
||||
-- @param options table containing options, currently supported
|
||||
-- <code>timeout</code> - sets the socket timeout
|
||||
-- <code>servername</code> - sets the server name to use in
|
||||
@@ -215,7 +215,7 @@ XMPP = {
|
||||
status, err = self:send("<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>")
|
||||
if ( not(status) ) then return false, "ERROR: Failed to initiate STARTTLS" end
|
||||
local status, tag = self:receive_tag()
|
||||
if ( not(status) ) then return false, "ERROR: Failed to recevice from server" end
|
||||
if ( not(status) ) then return false, "ERROR: Failed to receive from server" end
|
||||
if ( tag.name == "proceed" ) then
|
||||
status, err = self.socket:reconnect_ssl()
|
||||
self.options.starttls = false
|
||||
@@ -364,8 +364,8 @@ XMPP = {
|
||||
Helper = {
|
||||
|
||||
--- Creates a new Helper instance
|
||||
-- @param host table as receieved by the action function
|
||||
-- @param port table as receieved by the action function
|
||||
-- @param host table as received by the action function
|
||||
-- @param port table as received by the action function
|
||||
-- @param options table containing options, currently supported
|
||||
-- <code>timeout</code> - sets the socket timeout
|
||||
-- <code>servername</code> - sets the server name to use in
|
||||
|
||||
Reference in New Issue
Block a user