From 5a813106ba6a80eceff0551f52e10a051d5635f2 Mon Sep 17 00:00:00 2001 From: Marcos Pinto Date: Wed, 10 Oct 2007 19:43:03 +0000 Subject: [PATCH] fix typo --- libtorrent/src/session_impl.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libtorrent/src/session_impl.cpp b/libtorrent/src/session_impl.cpp index e229155e8..ae86cdaeb 100755 --- a/libtorrent/src/session_impl.cpp +++ b/libtorrent/src/session_impl.cpp @@ -328,7 +328,7 @@ namespace detail boost::tie(finished, progress) = processing->torrent_ptr->check_files(); { - mutex::scoped_lock l(m_mutex); + mutex::scoped_lock l2(m_mutex); INVARIANT_CHECK; @@ -340,9 +340,9 @@ namespace detail m_processing.pop_front(); // make sure the lock order is correct - l.unlock(); + l2.unlock(); session_impl::mutex_t::scoped_lock l(m_ses.m_mutex); - l.lock(); + l2.lock(); processing->torrent_ptr->abort(); processing.reset();