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 | ab71edddf05e451599a138ee7ebd4cd97f69fa46 (patch) | |
tree | bac91f33bf02831f9c520087822519803ee8a18e /util/iterators.lua | |
parent | 6c51171c432a9068270a580edd1ddd4753fde62c (diff) | |
download | prosody-ab71edddf05e451599a138ee7ebd4cd97f69fa46.tar.gz prosody-ab71edddf05e451599a138ee7ebd4cd97f69fa46.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 |