diff options
author | Matthew Wild <mwild1@gmail.com> | 2009-03-02 19:49:09 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2009-03-02 19:49:09 +0000 |
commit | 0a2936fb0fef58e0937a86fa42e213bec51650f2 (patch) | |
tree | 90798660b16e130b63e654198d1899417b5b5d8a /net/server.lua | |
parent | a6107b2b5e84db104641545bd72c7d871678261f (diff) | |
download | prosody-0a2936fb0fef58e0937a86fa42e213bec51650f2.tar.gz prosody-0a2936fb0fef58e0937a86fa42e213bec51650f2.zip |
net.server: Fix to make sure we send a string to logging function
Diffstat (limited to 'net/server.lua')
-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 e895f8aa..8d0d3b1a 100644 --- a/net/server.lua +++ b/net/server.lua @@ -438,7 +438,7 @@ wrapconnection = function( server, listeners, socket, ip, serverport, clientport --out_put( "server.lua: read data '", buffer, "', error: ", err )
return dispatch( handler, buffer, err )
else -- connections was closed or fatal error
- out_put( "server.lua: client ", ip, ":", clientport, " error: ", err )
+ out_put( "server.lua: client ", ip, ":", tostring(clientport), " error: ", tostring(err) )
fatalerror = true
disconnect( handler, err )
_ = handler and handler.close( )
|