Diff

net/server_select.lua @ 2732:dabdc56561f9

net.server_select: Fix typo
author Matthew Wild <mwild1@gmail.com>
date Mon, 01 Mar 2010 18:47:03 +0000
parent 2728:3f8d9319d4a3
child 2740:2442c54cf9ec
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