Changeset

2732:dabdc56561f9

net.server_select: Fix typo
author Matthew Wild <mwild1@gmail.com>
date Mon, 01 Mar 2010 18:47:03 +0000 (2010-03-01)
parents 2731:373a7c960409
children 2733:65ad0fdb17ba
files net/server_select.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/net/server_select.lua	Mon Mar 01 18:46:37 2010 +0000
+++ b/net/server_select.lua	Mon Mar 01 18:47:03 2010 +0000
@@ -472,7 +472,7 @@
 			_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