Changeset

996:6fb96dffb2c1

net.server: Simple logging fix
author Matthew Wild <mwild1@gmail.com>
date Sun, 12 Apr 2009 17:03:34 +0100
parents 995:a007d85b4045
children 997:c81b6141d693
files net/server.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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