mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 06:40:48 +00:00
Fix format string argument mismatches
Cases where the format string does not contain any placeholders, but values are given anyway. Cases where string.format is used without any placeholders or arguments.
This commit is contained in:
parent
a954950b5a
commit
9840973b60
17 changed files with 25 additions and 27 deletions
|
|
@ -125,7 +125,7 @@ local function get_version(path, typeof, host, port)
|
|||
if versioncheck.body then
|
||||
version = versioncheck.body:match(pattern)
|
||||
end
|
||||
stdnse.debug1("Version found:", version)
|
||||
stdnse.debug1("Version found: %s", version)
|
||||
return version
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue