aboutsummaryrefslogtreecommitdiffstats
path: root/util/ztact.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2010-04-03 22:26:14 +0100
committerMatthew Wild <mwild1@gmail.com>2010-04-03 22:26:14 +0100
commit1b43f0146e5de1245f6bcbd4b4e0fbd2f513b863 (patch)
treed32d806a8e7e2e8432dee7d2d93722ce5b4c2acb /util/ztact.lua
parent64991c424da09a66155e95d571318bc8f057a35e (diff)
parent8e1f8ca95861cdc5fc23f92e8719250a22d061ec (diff)
downloadprosody-1b43f0146e5de1245f6bcbd4b4e0fbd2f513b863.tar.gz
prosody-1b43f0146e5de1245f6bcbd4b4e0fbd2f513b863.zip
Merge 0.6/MattJ -> 0.6
Diffstat (limited to 'util/ztact.lua')
-rw-r--r--util/ztact.lua4
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)