aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-11-22 04:06:00 +0000
committerMatthew Wild <mwild1@gmail.com>2009-11-22 04:06:00 +0000
commit07f5e5f4c81bfaaa9389bcb15302349de388c966 (patch)
tree9011a49b4bf6d18903ead0e93a8e34386ac60d4c
parent3fe8e5575403a0e9a06923dfcf62773c40cd1ec3 (diff)
downloadprosody-07f5e5f4c81bfaaa9389bcb15302349de388c966.tar.gz
prosody-07f5e5f4c81bfaaa9389bcb15302349de388c966.zip
net.server_event: Fix moved line caused by Mercurial's crecord and my selective commits
-rw-r--r--net/server_event.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/server_event.lua b/net/server_event.lua
index e4653cb1..5bff633d 100644
--- a/net/server_event.lua
+++ b/net/server_event.lua
@@ -541,8 +541,8 @@ do
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