From 9044bff7aee8a49280b54e811645e4c0206d06ac Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Thu, 6 Jan 2011 13:47:20 +0000 Subject: net.server_event: Log interface and port number when binding fails --- net/server_event.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3