aboutsummaryrefslogtreecommitdiffstats
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
commit9044bff7aee8a49280b54e811645e4c0206d06ac (patch)
tree95d582c2aa96964c40f09047b26e5b6aaca731c9
parent3222de3f4b2e44aede5c430043ccebe71598c544 (diff)
downloadprosody-9044bff7aee8a49280b54e811645e4c0206d06ac.tar.gz
prosody-9044bff7aee8a49280b54e811645e4c0206d06ac.zip
net.server_event: Log interface and port number when binding fails
-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