Diff

net/server_select.lua @ 2598:8a021b304765

net.server_select: Small indentation fix
author Matthew Wild <mwild1@gmail.com>
date Thu, 11 Feb 2010 21:13:45 +0000
parent 2597:40a174e8cdf6
child 2728:3f8d9319d4a3
child 2996:b0515ed4d9d7
line wrap: on
line diff
--- a/net/server_select.lua	Thu Feb 11 21:09:59 2010 +0000
+++ b/net/server_select.lua	Thu Feb 11 21:13:45 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 handler.close( )
+			_ = 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