diff options
author | Matthew Wild <mwild1@gmail.com> | 2011-12-07 05:17:39 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2011-12-07 05:17:39 +0000 |
commit | 0356027c053b6354e4ffda91ae44f7fc66af8411 (patch) | |
tree | bac91f33bf02831f9c520087822519803ee8a18e /util/iterators.lua | |
parent | f1f40bc3ca38cf67e38bcf844a6d99a9a4f9e9bb (diff) | |
download | prosody-0356027c053b6354e4ffda91ae44f7fc66af8411.tar.gz prosody-0356027c053b6354e4ffda91ae44f7fc66af8411.zip |
util.iterators: it2table: Fix variable name
Diffstat (limited to 'util/iterators.lua')
-rw-r--r-- | util/iterators.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/iterators.lua b/util/iterators.lua index 2a87e97a..aa0b172b 100644 --- a/util/iterators.lua +++ b/util/iterators.lua @@ -140,7 +140,7 @@ end -- Treat the return of an iterator as key,value pairs, -- and build a table function it2table(f, s, var) - local t, var = {}; + local t, var2 = {}; while true do var, var2 = f(s, var); if var == nil then break; end |