fix typo in ssl patch

This commit is contained in:
Arvid Norberg 2014-10-06 03:18:26 +00:00
parent 2ea809ddb1
commit 9b8e7bc169
1 changed files with 1 additions and 1 deletions

View File

@ -2365,7 +2365,6 @@ retry:
#if defined TORRENT_VERBOSE_LOGGING || defined TORRENT_LOGGING || defined TORRENT_ERROR_LOGGING
session_log("SSL: cannot bind to UDP interface \"%s\": %s"
, print_endpoint(m_listen_interface).c_str(), ec.message().c_str());
#endif
#endif
if (m_alerts.should_post<listen_failed_alert>())
{
@ -2382,6 +2381,7 @@ retry:
tcp::endpoint(ssl_bind_if.address(), ssl_bind_if.port())
, listen_succeeded_alert::utp_ssl));
}
#endif
// TODO: 2 use bind_to_device in udp_socket
m_udp_socket.bind(udp::endpoint(m_listen_interface.address(), m_listen_interface.port()), ec);