projects
/
oweals
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba22660
)
Fixed luci.util.dumptable
author
Steven Barth
<steven@midlink.org>
Thu, 28 Aug 2008 16:16:51 +0000
(16:16 +0000)
committer
Steven Barth
<steven@midlink.org>
Thu, 28 Aug 2008 16:16:51 +0000
(16:16 +0000)
libs/core/luasrc/util.lua
patch
|
blob
|
history
diff --git
a/libs/core/luasrc/util.lua
b/libs/core/luasrc/util.lua
index 14bd1e79bfaf6ec1bdb94e7d14428147ed955e2d..2ede71a264502c1ad6572efdf8a6821853901adc 100644
(file)
--- a/
libs/core/luasrc/util.lua
+++ b/
libs/core/luasrc/util.lua
@@
-190,7
+190,7
@@
function dumptable(t, i, seen)
seen = seen or setmetatable({}, {__mode="k"})
for k,v in pairs(t) do
- perror(string.rep("\t", i) .. tostring(k)
,
tostring(v))
+ perror(string.rep("\t", i) .. tostring(k)
.. "\t" ..
tostring(v))
if type(v) == "table" then
if not seen[v] then
seen[v] = true