fixed get_ip_filter

This commit is contained in:
Arvid Norberg 2009-07-21 04:42:19 +00:00
parent ecdd7231b8
commit b437e2c743
2 changed files with 3 additions and 3 deletions

View File

@ -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)

View File

@ -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)