Software /
code /
prosody
Changeset
581:23b9cd1206ba
Remove old commented code from server.lua
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sat, 06 Dec 2008 23:12:46 +0000 |
parents | 580:9ff2c3c87065 |
children | 582:8eb45a8099c4 |
files | net/server.lua |
diffstat | 1 files changed, 0 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/net/server.lua Sat Dec 06 23:11:21 2008 +0000 +++ b/net/server.lua Sat Dec 06 23:12:46 2008 +0000 @@ -798,10 +798,6 @@ loop = function( ) -- this is the main loop of the program --signal_set( "hub", "run" ) repeat - --[[print(readlen, writelen) - for _, s in ipairs(readlist) do print("R:", tostring(s)) end - for _, s in ipairs(writelist) do print("W:", tostring(s)) end - out_put("select()"..os.time())]] local read, write, err = socket_select( readlist, writelist, 1 ) -- 1 sec timeout, nice for timers for i, socket in ipairs( write ) do -- send data waiting in writequeues local handler = socketlist[ socket ]