projects
/
prosody.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
net.dns: More reliable parsing of resolv.conf - allow multiple nameserver IPs on...
[prosody.git]
/
util
/
multitable.lua
diff --git
a/util/multitable.lua
b/util/multitable.lua
index c0bb2205d816bd312ca3b91704e89b37b9a8e80a..49659605bd117bf9c8175359a104911bcf9538dd 100644
(file)
--- a/
util/multitable.lua
+++ b/
util/multitable.lua
@@
-1,4
+1,4
@@
--- Prosody IM
v0.4
+-- Prosody IM
-- Copyright (C) 2008-2009 Matthew Wild
-- Copyright (C) 2008-2009 Waqas Hussain
--
-- Copyright (C) 2008-2009 Matthew Wild
-- Copyright (C) 2008-2009 Waqas Hussain
--
@@
-56,7
+56,7
@@
local function r(t, n, _end, ...)
return;
end
if k then
return;
end
if k then
- v = t[k];
+
local
v = t[k];
if v then
r(v, n+1, _end, ...);
if not next(v) then
if v then
r(v, n+1, _end, ...);
if not next(v) then
@@
-96,7
+96,7
@@
local function s(t, n, results, _end, ...)
return;
end
if k then
return;
end
if k then
- v = t[k];
+
local
v = t[k];
if v then
s(v, n+1, results, _end, ...);
end
if v then
s(v, n+1, results, _end, ...);
end