net.server: Simple logging fix

Sun, 12 Apr 2009 17:03:34 +0100

author
Matthew Wild <mwild1@gmail.com>
date
Sun, 12 Apr 2009 17:03:34 +0100
changeset 996
6fb96dffb2c1
parent 995
a007d85b4045
child 997
c81b6141d693

net.server: Simple logging fix

net/server.lua file | annotate | diff | comparison | revisions
--- 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

mercurial