mirror of
https://github.com/nmap/nmap.git
synced 2025-12-09 14:11:29 +00:00
nselib stdnse.print_debug -> stdnse.debug
$ f() { find -name \*.lua -exec /bin/echo sed -i "$1" {} \; ; }
$ f 's/stdnse.print_debug( *\([0-9]*\) *, */stdnse.debug\1(/'
$ f 's/stdnse.print_debug( *"\(.*\))/stdnse.debug1("\1)/'
This commit is contained in:
@@ -267,7 +267,7 @@ IPP = {
|
||||
end
|
||||
|
||||
if ( not(group) ) then
|
||||
stdnse.print_debug(2, "Unexpected tag: %d", tag)
|
||||
stdnse.debug2("Unexpected tag: %d", tag)
|
||||
return
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user