projects
/
prosody.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
util.httpstream: For HTTP client responses, changing properties responseversion and...
[prosody.git]
/
util
/
multitable.lua
diff --git
a/util/multitable.lua
b/util/multitable.lua
index c0bb2205d816bd312ca3b91704e89b37b9a8e80a..66b9bd8aba1a90481d80efcaa056773552a61f60 100644
(file)
--- a/
util/multitable.lua
+++ b/
util/multitable.lua
@@
-1,6
+1,6
@@
--- Prosody IM
v0.4
--- Copyright (C) 2008-20
09
Matthew Wild
--- Copyright (C) 2008-20
09
Waqas Hussain
+-- Prosody IM
+-- Copyright (C) 2008-20
10
Matthew Wild
+-- Copyright (C) 2008-20
10
Waqas Hussain
--
-- This project is MIT/X11 licensed. Please see the
-- COPYING file in the source package for more information.
--
-- This project is MIT/X11 licensed. Please see the
-- COPYING file in the source package for more information.
@@
-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