aboutsummaryrefslogtreecommitdiffstats
path: root/net/server.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2008-12-06 23:12:46 +0000
committerMatthew Wild <mwild1@gmail.com>2008-12-06 23:12:46 +0000
commit1142f3083841c09f814c3a524d463e5d042f0a56 (patch)
tree0b2229b61841f204607930cd7f8cc03e7e980806 /net/server.lua
parent7ee253aa3fe31b28b4692909ca0f41f330f7870f (diff)
downloadprosody-1142f3083841c09f814c3a524d463e5d042f0a56.tar.gz
prosody-1142f3083841c09f814c3a524d463e5d042f0a56.zip
Remove old commented code from server.lua
Diffstat (limited to 'net/server.lua')
-rw-r--r--net/server.lua4
1 files changed, 0 insertions, 4 deletions
diff --git a/net/server.lua b/net/server.lua
index 55afcf3f..5c129753 100644
--- a/net/server.lua
+++ b/net/server.lua
@@ -798,10 +798,6 @@ end
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 ]