mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 05:37:39 +03:00
util.iterators: it2table: Fix variable name
This commit is contained in:
parent
f1f40bc3ca
commit
0356027c05
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue