aboutsummaryrefslogtreecommitdiffstats
path: root/net/server_event.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2011-01-06 13:47:20 +0000
committerMatthew Wild <mwild1@gmail.com>2011-01-06 13:47:20 +0000
commit8bb1169606e0b30f820adf68d93027037015211d (patch)
treeefd19bc9c0e81c324a164a315aaafee6150ca2fe /net/server_event.lua
parent19e5efd0caa093ae89dc81f1a5da5302767c539f (diff)
downloadprosody-8bb1169606e0b30f820adf68d93027037015211d.tar.gz
prosody-8bb1169606e0b30f820adf68d93027037015211d.zip
net.server_event: Log interface and port number when binding fails
Diffstat (limited to 'net/server_event.lua')
-rw-r--r--net/server_event.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/server_event.lua b/net/server_event.lua
index 122d80fc..058d51fe 100644
--- a/net/server_event.lua
+++ b/net/server_event.lua
@@ -726,7 +726,7 @@ local addserver = ( function( )
--vdebug( "creating new tcp server with following parameters:", addr or "nil", port or "nil", sslcfg or "nil", startssl or "nil")
local server, err = socket.bind( addr, port, cfg.ACCEPT_QUEUE ) -- create server socket
if not server then
- debug( "creating server socket failed because:", err )
+ debug( "creating server socket on "..addr.." port "..port.." failed:", err )
return nil, err
end
local sslctx