diff options
author | Matthew Wild <mwild1@gmail.com> | 2010-03-01 18:47:03 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2010-03-01 18:47:03 +0000 |
commit | 70e49af539d114e02baa8c7105d83e2728af18da (patch) | |
tree | 12bc6554bd0bb671190decff3f404bf495a6ea15 /net/server_select.lua | |
parent | 52817c55177ca4ad795705a89d1d8a1a40e9688b (diff) | |
download | prosody-70e49af539d114e02baa8c7105d83e2728af18da.tar.gz prosody-70e49af539d114e02baa8c7105d83e2728af18da.zip |
net.server_select: Fix typo
Diffstat (limited to 'net/server_select.lua')
-rw-r--r-- | net/server_select.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/server_select.lua b/net/server_select.lua index ca8b1113..c4a1f19a 100644 --- a/net/server_select.lua +++ b/net/server_select.lua @@ -472,7 +472,7 @@ wrapconnection = function( server, listeners, socket, ip, serverport, clientport _sendlistlen = removesocket( _sendlist, socket, _sendlistlen ) -- delete socket from writelist _ = needtls and handler:starttls(nil, true) _writetimes[ handler ] = nil - _ = toclose and handlerclose( ) + _ = toclose and handler:close( ) return true elseif byte and ( err == "timeout" or err == "wantwrite" ) then -- want write buffer = string_sub( buffer, byte + 1, bufferlen ) -- new buffer |