Comparison

net/server_select.lua @ 6381:9ffd582c65d8

net.server_select: 'listener'->'listeners' (fixes undefined global access)
author Matthew Wild <mwild1@gmail.com>
date Tue, 02 Sep 2014 17:23:44 +0100
parent 6379:a280bd6ccce2
child 6382:57d23c26039b
child 7094:e8f202856fc0
comparison
equal deleted inserted replaced
6380:4220ffb87b22 6381:9ffd582c65d8
282 282
283 local dispatch = listeners.onincoming 283 local dispatch = listeners.onincoming
284 local status = listeners.onstatus 284 local status = listeners.onstatus
285 local disconnect = listeners.ondisconnect 285 local disconnect = listeners.ondisconnect
286 local drain = listeners.ondrain 286 local drain = listeners.ondrain
287 local detach = listener.ondetach 287 local detach = listeners.ondetach
288 288
289 local bufferqueue = { } -- buffer array 289 local bufferqueue = { } -- buffer array
290 local bufferqueuelen = 0 -- end of buffer array 290 local bufferqueuelen = 0 -- end of buffer array
291 291
292 local toclose 292 local toclose