mirror of
https://github.com/nmap/nmap.git
synced 2025-12-27 01:49:03 +00:00
more stdnse.print_debug -> stdnse.debug
$ sed -i 's/stdnse.print_debug( *\([0-9]*\) *, *" *%s *:* *\([^"]*\)" *, *SCRIPT_NAME/stdnse.debug\1("\2"/' *.nse
$ sed -i 's/stdnse.print_debug( *" *%s *:* *\([^"]*\)" *, *SCRIPT_NAME/stdnse.debug1("\1"/' *.nse
This commit is contained in:
@@ -79,7 +79,7 @@ local function getMechs(host, port)
|
||||
|
||||
local status, response = helper:getSASLMechList()
|
||||
if ( not(status) ) then
|
||||
stdnse.print_debug(2, "%s: Received unexpected response: %s", SCRIPT_NAME, response)
|
||||
stdnse.debug2("Received unexpected response: %s", response)
|
||||
return false, "Received unexpected response"
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user