aboutsummaryrefslogtreecommitdiffstats
path: root/net/server.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-04-12 17:03:34 +0100
committerMatthew Wild <mwild1@gmail.com>2009-04-12 17:03:34 +0100
commitf6cf54959999f4056d1dab972ce011a804a9880d (patch)
treef020758d53306c865583adca03af857a1965fe07 /net/server.lua
parent13db2a926bff3a8db904a940db68bcc2afd31405 (diff)
downloadprosody-f6cf54959999f4056d1dab972ce011a804a9880d.tar.gz
prosody-f6cf54959999f4056d1dab972ce011a804a9880d.zip
net.server: Simple logging fix
Diffstat (limited to 'net/server.lua')
-rw-r--r--net/server.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/server.lua b/net/server.lua
index aa259c7d..0097be3c 100644
--- a/net/server.lua
+++ b/net/server.lua
@@ -457,7 +457,7 @@ wrapconnection = function( server, listeners, socket, ip, serverport, clientport
sendtraffic = sendtraffic + count
_sendtraffic = _sendtraffic + count
_ = _cleanqueue and clean( bufferqueue )
- --out_put( "server.lua: sended '", buffer, "', bytes: ", succ, ", error: ", err, ", part: ", byte, ", to: ", ip, ":", clientport )
+ --out_put( "server.lua: sended '", buffer, "', bytes: ", tostring(succ), ", error: ", tostring(err), ", part: ", tostring(byte), ", to: ", tostring(ip), ":", tostring(clientport) )
if succ then -- sending succesful
bufferqueuelen = 0
bufferlen = 0