mirror of
https://github.com/nmap/nmap.git
synced 2026-01-02 12:59:02 +00:00
Fixed errors found by nse_check_globals.
This commit is contained in:
@@ -68,7 +68,8 @@ svn =
|
||||
local status, msg
|
||||
|
||||
self.socket = nmap.new_socket()
|
||||
|
||||
|
||||
local result
|
||||
status, result = self.socket:connect(self.host.ip, self.port.number, "tcp")
|
||||
if( not(status) ) then
|
||||
return false, result
|
||||
|
||||
Reference in New Issue
Block a user