Changeset 2083
- Timestamp:
- 10/29/07 01:01:48 (15 months ago)
- Files:
-
- 2 modified
-
tags/deluge-0.5.6.1/libtorrent/src/session_impl.cpp (modified) (2 diffs)
-
trunk/libtorrent/src/session_impl.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tags/deluge-0.5.6.1/libtorrent/src/session_impl.cpp
r2078 r2083 684 684 } 685 685 686 #if defined(TORRENT_VERBOSE_LOGGING) || defined(TORRENT_LOGGING) 687 (*m_logger) << time_now_string() << " aborting all torrents\n"; 688 #endif 686 689 // abort all torrents 687 690 for (torrent_map::iterator i = m_torrents.begin() … … 691 694 } 692 695 696 #if defined(TORRENT_VERBOSE_LOGGING) || defined(TORRENT_LOGGING) 697 (*m_logger) << time_now_string() << " aborting all connections\n"; 698 #endif 699 // abort all connections 700 for (connection_map::iterator i = m_connections.begin() 701 , end(m_connections.end()); i != end; ++i) 702 { 703 i->second->disconnect(); 704 } 705 693 706 #if defined(TORRENT_VERBOSE_LOGGING) || defined(TORRENT_LOGGING) 694 707 (*m_logger) << time_now_string() << " aborting all tracker requests\n"; -
trunk/libtorrent/src/session_impl.cpp
r2071 r2083 684 684 } 685 685 686 #if defined(TORRENT_VERBOSE_LOGGING) || defined(TORRENT_LOGGING) 687 (*m_logger) << time_now_string() << " aborting all torrents\n"; 688 #endif 686 689 // abort all torrents 687 690 for (torrent_map::iterator i = m_torrents.begin() … … 691 694 } 692 695 696 #if defined(TORRENT_VERBOSE_LOGGING) || defined(TORRENT_LOGGING) 697 (*m_logger) << time_now_string() << " aborting all connections\n"; 698 #endif 699 // abort all connections 700 for (connection_map::iterator i = m_connections.begin() 701 , end(m_connections.end()); i != end; ++i) 702 { 703 i->second->disconnect(); 704 } 705 693 706 #if defined(TORRENT_VERBOSE_LOGGING) || defined(TORRENT_LOGGING) 694 707 (*m_logger) << time_now_string() << " aborting all tracker requests\n";
