aboutsummaryrefslogtreecommitdiffstats
path: root/net/server.lua
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2009-06-04 20:48:23 +0500
committerWaqas Hussain <waqas20@gmail.com>2009-06-04 20:48:23 +0500
commit1355e1a64a303cfd22602b38359899417dc5b863 (patch)
treeafa13841edb76f6fc1f481efe20f027aac3db3ce /net/server.lua
parentf39a3c3f1cb89cec099756de35ee95251aa49c3a (diff)
parenta82a7d386ca2cbfb1db79e2cede363516f0a0f99 (diff)
downloadprosody-1355e1a64a303cfd22602b38359899417dc5b863.tar.gz
prosody-1355e1a64a303cfd22602b38359899417dc5b863.zip
Merge with trunk
Diffstat (limited to 'net/server.lua')
-rw-r--r--net/server.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/server.lua b/net/server.lua
index d7872f51..3491b190 100644
--- a/net/server.lua
+++ b/net/server.lua
@@ -653,13 +653,13 @@ addserver = function( listeners, port, addr, pattern, sslctx, maxconnections, st
err = "luasec not found"
end
if err then
- out_error( "server.lua: ", err )
+ out_error( "server.lua, port ", port, ": ", err )
return nil, err
end
addr = addr or "*"
local server, err = socket_bind( addr, port )
if err then
- out_error( "server.lua: ", err )
+ out_error( "server.lua, port ", port, ": ", err )
return nil, err
end
local handler, err = wrapserver( listeners, server, addr, port, pattern, sslctx, maxconnections, startssl ) -- wrap new server socket