aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2010-01-31 16:23:38 +0000
committerMatthew Wild <mwild1@gmail.com>2010-01-31 16:23:38 +0000
commit9ce0027521b2c33b0929161d2cd4fd7df3a5ad3f (patch)
tree1da1b4ec90eeed4527291255949b66825a7a39c6
parentc8aaba9697978b1c6a5362dd05236bbf6e94497a (diff)
downloadprosody-9ce0027521b2c33b0929161d2cd4fd7df3a5ad3f.tar.gz
prosody-9ce0027521b2c33b0929161d2cd4fd7df3a5ad3f.zip
net.server_select: Report whether a new listener uses SSL or not in the log message
-rw-r--r--net/server_select.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/server_select.lua b/net/server_select.lua
index 24c82022..2d9e0d86 100644
--- a/net/server_select.lua
+++ b/net/server_select.lua
@@ -681,7 +681,7 @@ addserver = function( addr, port, listeners, pattern, sslctx ) -- this functi
_readlistlen = addsocket(_readlist, server, _readlistlen)
_server[ port ] = handler
_socketlist[ server ] = handler
- out_put( "server.lua: new server listener on '", addr, ":", port, "'" )
+ out_put( "server.lua: new "..(sslctx and "ssl " or "").."server listener on '", addr, ":", port, "'" )
return handler
end