Software /
code /
prosody
Changeset
4441:a01b7207cb37
util.iterators: it2table: Fix variable name
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Wed, 07 Dec 2011 05:17:39 +0000 |
parents | 4440:c60ed6732b34 |
children | 4442:bc0a68cae236 |
files | util/iterators.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/util/iterators.lua Wed Dec 07 05:14:58 2011 +0000 +++ b/util/iterators.lua Wed Dec 07 05:17:39 2011 +0000 @@ -140,7 +140,7 @@ -- 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