diff options
author | Waqas Hussain <waqas20@gmail.com> | 2010-04-01 19:28:23 +0500 |
---|---|---|
committer | Waqas Hussain <waqas20@gmail.com> | 2010-04-01 19:28:23 +0500 |
commit | 8e1f8ca95861cdc5fc23f92e8719250a22d061ec (patch) | |
tree | a183b3346d10a86b7b3d217623502cb434fabf56 /util | |
parent | 3ee35fe849abab96c33b9774fe439759943436a5 (diff) | |
download | prosody-8e1f8ca95861cdc5fc23f92e8719250a22d061ec.tar.gz prosody-8e1f8ca95861cdc5fc23f92e8719250a22d061ec.zip |
util.ztact: Fixed global accesses.
Diffstat (limited to 'util')
-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) |