mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Fix additional point in past series
This commit is contained in:
parent
907b260ece
commit
d7632494dd
2 changed files with 2 additions and 2 deletions
|
|
@ -29,7 +29,7 @@ end
|
|||
-- The other two parameters should not be set
|
||||
function tprint(s, l, i)
|
||||
l = (l) or 1000; i = i or "";-- default item limit, indent string
|
||||
if (l<1) then print("ERROR: Item limit reached.\n"); return l-1 end;
|
||||
if (l<1) then io.write("ERROR: Item limit reached.\n"); return l-1 end;
|
||||
local ts = type(s);
|
||||
if (ts ~= "table") then io.write(i..' '..ts..' '..tostring(s)..'\n'); return l-1 end
|
||||
io.write(i..' '..ts..'\n');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue