projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d8eb870
)
net.server_select: 'listener'->'listeners' (fixes undefined global access)
author
Matthew Wild
<mwild1@gmail.com>
Tue, 2 Sep 2014 16:23:44 +0000
(17:23 +0100)
committer
Matthew Wild
<mwild1@gmail.com>
Tue, 2 Sep 2014 16:23:44 +0000
(17:23 +0100)
net/server_select.lua
patch
|
blob
|
history
diff --git
a/net/server_select.lua
b/net/server_select.lua
index 2b23b4f04764e3e3ff32441291878d09f6b9f634..7ac4152314cca2068f711b3f8865fbe5371b73d3 100644
(file)
--- a/
net/server_select.lua
+++ b/
net/server_select.lua
@@
-284,7
+284,7
@@
wrapconnection = function( server, listeners, socket, ip, serverport, clientport
local status = listeners.onstatus
local disconnect = listeners.ondisconnect
local drain = listeners.ondrain
- local detach = listener.ondetach
+ local detach = listener
s
.ondetach
local bufferqueue = { } -- buffer array
local bufferqueuelen = 0 -- end of buffer array