diff options
author | Matthew Wild <mwild1@gmail.com> | 2009-04-12 17:03:34 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2009-04-12 17:03:34 +0100 |
commit | f6cf54959999f4056d1dab972ce011a804a9880d (patch) | |
tree | f020758d53306c865583adca03af857a1965fe07 /net | |
parent | 13db2a926bff3a8db904a940db68bcc2afd31405 (diff) | |
download | prosody-f6cf54959999f4056d1dab972ce011a804a9880d.tar.gz prosody-f6cf54959999f4056d1dab972ce011a804a9880d.zip |
net.server: Simple logging fix
Diffstat (limited to 'net')
-rw-r--r-- | net/server.lua | 2 |
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
|