forked from premiere/premiere-libtorrent
fixed get_ip_filter
This commit is contained in:
parent
ecdd7231b8
commit
b437e2c743
|
@ -390,7 +390,8 @@ namespace libtorrent
|
|||
|
||||
ip_filter const& session::get_ip_filter() const
|
||||
{
|
||||
m_impl->get_ip_filter();
|
||||
session_impl::mutex_t::scoped_lock l(m_impl->m_mutex);
|
||||
return m_impl->get_ip_filter();
|
||||
}
|
||||
|
||||
void session::set_port_filter(port_filter const& f)
|
||||
|
|
|
@ -622,7 +622,6 @@ namespace aux {
|
|||
|
||||
ip_filter const& session_impl::get_ip_filter() const
|
||||
{
|
||||
mutex_t::scoped_lock l(m_mutex);
|
||||
return m_ip_filter;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue