Software /
code /
prosody
Diff
net/server_event.lua @ 4008:36bee5ca8b95
net.server_event: Log interface and port number when binding fails
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Thu, 06 Jan 2011 13:47:20 +0000 |
parent | 3649:ae99396ee261 |
child | 4111:4716c7645ad2 |
line wrap: on
line diff
--- a/net/server_event.lua Wed Jan 05 06:56:36 2011 +0500 +++ b/net/server_event.lua Thu Jan 06 13:47:20 2011 +0000 @@ -726,7 +726,7 @@ --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