Changeset

3008:23915803adbf

net.server_select: Fix typo affecting connections with an onconnect listener that have data pending in the sendbuffer
author Matthew Wild <mwild1@gmail.com>
date Wed, 05 May 2010 17:12:32 +0100
parents 3006:a3580f556c27
children 3009:06f7d8054065
files net/server_select.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/net/server_select.lua	Wed May 05 15:33:29 2010 +0100
+++ b/net/server_select.lua	Wed May 05 17:12:32 2010 +0100
@@ -629,7 +629,7 @@
 			listeners.onconnect(handler);
 			handler.sendbuffer = _sendbuffer;
 			if bufferqueuelen > 0 then
-				return _senddbuffer();
+				return _sendbuffer();
 			end
 		end
 	end