forked from premiere/premiere-libtorrent
fix
This commit is contained in:
parent
f0ae2145ea
commit
1a64490ef0
|
@ -64,6 +64,8 @@ namespace libtorrent { namespace aux {
|
|||
: m_sock(s)
|
||||
{}
|
||||
|
||||
listen_socket_handle(listen_socket_handle const& o) = default;
|
||||
|
||||
explicit operator bool() const { return !m_sock.expired(); }
|
||||
|
||||
address get_external_address() const;
|
||||
|
|
|
@ -1227,7 +1227,7 @@ namespace {
|
|||
req.listen_port = listen_port(ls.get());
|
||||
#ifdef TORRENT_USE_OPENSSL
|
||||
// SSL torrents use the SSL listen port
|
||||
if (use_ssl) req.listen_port = ssl_listen_port(&ls);
|
||||
if (use_ssl) req.listen_port = ssl_listen_port(ls.get());
|
||||
#endif
|
||||
req.outgoing_socket = listen_socket_handle(ls);
|
||||
m_tracker_manager.queue_request(get_io_service(), req, c);
|
||||
|
|
Loading…
Reference in New Issue