1
0
mirror of https://github.com/nmap/nmap.git synced 2026-02-08 14:36:33 +00:00

Fix an assertion error in ls.lua: size is a number, not a string

This commit is contained in:
dmiller
2015-09-04 12:52:09 +00:00
parent 893f0c32f9
commit 998da3d070

View File

@@ -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)