Changeset

2123:f7b589f798af

net.server_event: Fix moved line caused by Mercurial's crecord and my selective commits
author Matthew Wild <mwild1@gmail.com>
date Sun, 22 Nov 2009 04:06:00 +0000
parents 2122:dd1da05568e4
children 2124:465a7481ab96
files net/server_event.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/net/server_event.lua	Sun Nov 22 04:04:04 2009 +0000
+++ b/net/server_event.lua	Sun Nov 22 04:06:00 2009 +0000
@@ -541,8 +541,8 @@
 						interface.eventreadtimeout = nil
 					end
 				end
-				--vdebug( "read data:", buffer, "error:", err, "part:", part )        
 				local buffer, err, part = interface.conn:receive( pattern )  -- receive buffer with "pattern"
+				--vdebug( "read data:", tostring(buffer), "error:", tostring(err), "part:", tostring(part) )        
 				buffer = buffer or part or ""
 				local len = string_len( buffer )
 				if len > cfg.MAX_READ_LENGTH then  -- check buffer length