Software /
code /
prosody
Diff
net/server.lua @ 996:6fb96dffb2c1
net.server: Simple logging fix
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sun, 12 Apr 2009 17:03:34 +0100 |
parent | 994:8fd4efc3ed96 |
child | 999:c088139d8f05 |
line wrap: on
line diff
--- a/net/server.lua Sun Apr 12 13:14:45 2009 +0100 +++ b/net/server.lua Sun Apr 12 17:03:34 2009 +0100 @@ -457,7 +457,7 @@ 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