Changeset

2765:3cb9df793269

net.server_select: Make bufferlen() method return, of all things, the buffer length
author Matthew Wild <mwild1@gmail.com>
date Thu, 03 Dec 2009 14:08:54 +0000
parents 2764:6f5c30865ddf
children 2766:5fe6ea49cf70
files net/server.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/net/server.lua	Thu Dec 03 02:28:34 2009 +0000
+++ b/net/server.lua	Thu Dec 03 14:08:54 2009 +0000
@@ -434,7 +434,7 @@
     handler.bufferlen = function( readlen, sendlen )
         maxsendlen = sendlen or maxsendlen
         maxreadlen = readlen or maxreadlen
-        return maxreadlen, maxsendlen
+        return bufferlen, maxreadlen, maxsendlen
     end
     handler.lock = function( switch )
         if switch == true then