mirror of
https://github.com/nmap/nmap.git
synced 2025-12-07 13:11:28 +00:00
Fix some typos
This commit is contained in:
@@ -450,11 +450,11 @@ URL = {
|
|||||||
return false
|
return false
|
||||||
end,
|
end,
|
||||||
|
|
||||||
-- Get's the host portion of the URL
|
-- Gets the host portion of the URL
|
||||||
-- @return host string containing the hostname
|
-- @return host string containing the hostname
|
||||||
getHost = function(self) return self.host end,
|
getHost = function(self) return self.host end,
|
||||||
|
|
||||||
-- Get's the protocol representation of the URL
|
-- Gets the protocol representation of the URL
|
||||||
-- @return proto string containing the protocol (ie. http, https)
|
-- @return proto string containing the protocol (ie. http, https)
|
||||||
getProto = function(self) return self.proto end,
|
getProto = function(self) return self.proto end,
|
||||||
|
|
||||||
@@ -695,13 +695,13 @@ Crawler = {
|
|||||||
return o
|
return o
|
||||||
end,
|
end,
|
||||||
|
|
||||||
-- Set's the timeout used by the http library
|
-- Sets the timeout used by the http library
|
||||||
-- @param timeout number containing the timeout in ms.
|
-- @param timeout number containing the timeout in ms.
|
||||||
set_timeout = function(self, timeout)
|
set_timeout = function(self, timeout)
|
||||||
self.options.timeout = timeout
|
self.options.timeout = timeout
|
||||||
end,
|
end,
|
||||||
|
|
||||||
-- Get's the amount of pages that has been retrieved
|
-- Gets the amount of pages that has been retrieved
|
||||||
-- @return count number of pages retrieved by the instance
|
-- @return count number of pages retrieved by the instance
|
||||||
getPageCount = function(self)
|
getPageCount = function(self)
|
||||||
local count = 1
|
local count = 1
|
||||||
|
|||||||
@@ -138,7 +138,7 @@ MobileMe = {
|
|||||||
return true, parsed_json
|
return true, parsed_json
|
||||||
end,
|
end,
|
||||||
|
|
||||||
-- Get's a list of devices
|
-- Gets a list of devices
|
||||||
-- @return devices table containing a list of devices
|
-- @return devices table containing a list of devices
|
||||||
getDevices = function(self)
|
getDevices = function(self)
|
||||||
if ( not(self.devices) ) then
|
if ( not(self.devices) ) then
|
||||||
@@ -166,7 +166,7 @@ Helper = {
|
|||||||
return o
|
return o
|
||||||
end,
|
end,
|
||||||
|
|
||||||
-- Get's the geolocation from each device
|
-- Gets the geolocation from each device
|
||||||
--
|
--
|
||||||
-- @return status true on success, false on failure
|
-- @return status true on success, false on failure
|
||||||
-- @return result table containing a table of device locations
|
-- @return result table containing a table of device locations
|
||||||
|
|||||||
@@ -323,7 +323,7 @@ Helper = {
|
|||||||
return self.comm:connect()
|
return self.comm:connect()
|
||||||
end,
|
end,
|
||||||
|
|
||||||
-- Get's the external public IP
|
-- Gets the external public IP
|
||||||
-- @return status true on success, false on failure
|
-- @return status true on success, false on failure
|
||||||
-- @return result containing the IP as string
|
-- @return result containing the IP as string
|
||||||
getExternalAddress = function(self)
|
getExternalAddress = function(self)
|
||||||
|
|||||||
@@ -169,7 +169,7 @@ Versant = {
|
|||||||
end,
|
end,
|
||||||
|
|
||||||
|
|
||||||
-- Get's the XML license file from the database
|
-- Gets the XML license file from the database
|
||||||
-- @return status true on success, false on failure
|
-- @return status true on success, false on failure
|
||||||
-- @return data string containing the XML license file
|
-- @return data string containing the XML license file
|
||||||
getLicense = function(self)
|
getLicense = function(self)
|
||||||
|
|||||||
Reference in New Issue
Block a user