diff options
author | Matthew Wild <mwild1@gmail.com> | 2009-11-21 17:23:51 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2009-11-21 17:23:51 +0000 |
commit | 3637339b38f22bdb048e72f22241bd2baafe7e4c (patch) | |
tree | 705f970055407897cb9569ab359ac0cc4b9e4bf0 /net | |
parent | f24860c37c3821c02a5ed91e706c6d4d6fd21bbc (diff) | |
download | prosody-3637339b38f22bdb048e72f22241bd2baafe7e4c.tar.gz prosody-3637339b38f22bdb048e72f22241bd2baafe7e4c.zip |
net.server_event: Change to new standard addserver() syntax
Diffstat (limited to 'net')
-rw-r--r-- | net/server_event.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/server_event.lua b/net/server_event.lua index 375ab47e..99c3c83b 100644 --- a/net/server_event.lua +++ b/net/server_event.lua @@ -639,9 +639,9 @@ do end
local addserver = ( function( )
- return function( addr, port, listener, pattern, backlog, sslcfg, startssl ) -- TODO: check arguments
+ return function( addr, port, listener, pattern, sslcfg, startssl ) -- TODO: check arguments
--vdebug( "creating new tcp server with following parameters:", addr or "nil", port or "nil", sslcfg or "nil", startssl or "nil")
- local server, err = socket.bind( addr, port, backlog ) -- create server socket
+ local server, err = socket.bind( addr, port, cfg.ACCEPT_QUEUE ) -- create server socket
if not server then
debug( "creating server socket failed because:", err )
return nil, err
|