Software /
code /
prosody
Changeset
2638:115104acdd7b
net.server_event: Fix traceback in creating SSL context
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sun, 14 Feb 2010 20:15:17 +0000 |
parents | 2637:82cfc1ec4a7c |
children | 2639:a7f683622b35 |
files | net/server_event.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/net/server_event.lua Sun Feb 14 18:41:44 2010 +0000 +++ b/net/server_event.lua Sun Feb 14 20:15:17 2010 +0000 @@ -704,7 +704,7 @@ debug "fatal error: luasec not found" return nil, "luasec not found" end - sslctx, err = ssl.newcontext( sslcfg ) + sslctx, err = sslcfg if err then debug( "error while creating new ssl context for server socket:", err ) return nil, err