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,8 +622,7 @@ namespace aux {
|
|||
|
||||
ip_filter const& session_impl::get_ip_filter() const
|
||||
{
|
||||
mutex_t::scoped_lock l(m_mutex);
|
||||
return m_ip_filter;
|
||||
return m_ip_filter;
|
||||
}
|
||||
|
||||
void session_impl::set_settings(session_settings const& s)
|
||||
|
|
Loading…
Reference in New Issue