Software /
code /
prosody
Diff
net/server_event.lua @ 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 |
parent | 2122:dd1da05568e4 |
child | 2124:465a7481ab96 |
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