diff options
author | Matthew Wild <mwild1@gmail.com> | 2010-04-03 23:09:11 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2010-04-03 23:09:11 +0100 |
commit | 89e9f18d2ac62feb42a56a87ef0836a886da5d76 (patch) | |
tree | ace0eeab3ed6610204951f2ef1c60b23caeb36d8 /util/ztact.lua | |
parent | 3dbf4c9e57cec2baa98f8864263a3cd11d608707 (diff) | |
parent | 1b43f0146e5de1245f6bcbd4b4e0fbd2f513b863 (diff) | |
download | prosody-89e9f18d2ac62feb42a56a87ef0836a886da5d76.tar.gz prosody-89e9f18d2ac62feb42a56a87ef0836a886da5d76.zip |
Merge 0.6->0.7
Diffstat (limited to 'util/ztact.lua')
-rw-r--r-- | util/ztact.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/ztact.lua b/util/ztact.lua index 35902ba1..2507bf8e 100644 --- a/util/ztact.lua +++ b/util/ztact.lua @@ -114,7 +114,7 @@ function tohex (s) -- - - - - - - - - - - - - - - - - - - - - - - - - tohex function tostring_r (d, indent, tab0) -- - - - - - - - - - - - - tostring_r - tab1 = tab0 or {} + local tab1 = tab0 or {} local rep = string.rep (' ', indent or 0) if type (d) == 'table' then for k,v in pairs (d) do @@ -210,7 +210,7 @@ function enqueue (queue, element) -- - - - - - - - - - - - - - - - - enqueue local function test_queue () - t = {} + local t = {} enqueue (t, 1) enqueue (t, 2) enqueue (t, 3) |