projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fac8ec1
)
mod_storage_sql2: Rename variable to avoid name clash
author
Matthew Wild
<mwild1@gmail.com>
Tue, 7 Jul 2015 16:39:56 +0000
(17:39 +0100)
committer
Matthew Wild
<mwild1@gmail.com>
Tue, 7 Jul 2015 16:39:56 +0000
(17:39 +0100)
plugins/mod_storage_sql2.lua
patch
|
blob
|
history
diff --git
a/plugins/mod_storage_sql2.lua
b/plugins/mod_storage_sql2.lua
index 10a16743adbf50e387026d3599c7c1561889121a..bba27748287df4d3c7270e349b698a3fe28eefc3 100644
(file)
--- a/
plugins/mod_storage_sql2.lua
+++ b/
plugins/mod_storage_sql2.lua
@@
-13,8
+13,8
@@
local function is_stanza(x) return getmetatable(x) == stanza_mt; end
local noop = function() end
local unpack = unpack
local function iterator(result)
- return function(result)
- local row = result();
+ return function(result
_
)
+ local row = result
_
();
if row ~= nil then
return unpack(row);
end