# HG changeset patch # User Matthew Wild # Date 1323235059 0 # Node ID a01b7207cb37844ff88b57ae2d07ed9b238c854f # Parent c60ed6732b3492c2797a470cc484b81614cda87d util.iterators: it2table: Fix variable name diff -r c60ed6732b34 -r a01b7207cb37 util/iterators.lua --- 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