mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 14:49:29 +00:00
Fix an assertion error in ls.lua: size is a number, not a string
This commit is contained in:
parent
893f0c32f9
commit
998da3d070
1 changed files with 1 additions and 1 deletions
|
|
@ -211,7 +211,7 @@ function add_file(output, file)
|
|||
local size = get_size(info)
|
||||
if size then
|
||||
curvol["bytes"] = curvol["bytes"] + size
|
||||
info = size
|
||||
info = tostring(size)
|
||||
end
|
||||
end
|
||||
tab.add(files, i, info)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue