fixed ssl typo

This commit is contained in:
Arvid Norberg 2014-10-21 23:53:18 +00:00
parent a25345b1e7
commit 8d99b6eabb
1 changed files with 2 additions and 4 deletions

View File

@ -1879,13 +1879,11 @@ retry:
#ifdef TORRENT_USE_OPENSSL
if (m_settings.get_int(settings_pack::ssl_listen))
{
listen_socket_t s;
s.ssl = true;
int retries = 10;
setup_listener(&s, device, address_family
listen_socket_t s = setup_listener(device, address_family
, m_settings.get_int(settings_pack::ssl_listen)
, m_listen_port_retries, flags, ec);
, m_listen_port_retries, flags | open_ssl_socket, ec);
if (s.sock)
{