net.server_select: Fix typo affecting connections with an onconnect listener that have data pending in the sendbuffer

Wed, 05 May 2010 17:12:32 +0100

author
Matthew Wild <mwild1@gmail.com>
date
Wed, 05 May 2010 17:12:32 +0100
changeset 3008
23915803adbf
parent 3006
a3580f556c27
child 3009
06f7d8054065

net.server_select: Fix typo affecting connections with an onconnect listener that have data pending in the sendbuffer

net/server_select.lua file | annotate | diff | comparison | revisions
--- 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

mercurial