fixed logging build

This commit is contained in:
Arvid Norberg 2011-03-04 07:00:27 +00:00
parent 9d0b99480b
commit 019b682cf9
2 changed files with 5 additions and 5 deletions

View File

@ -904,6 +904,10 @@ namespace libtorrent
// accumulated error // accumulated error
boost::uint16_t m_tick_residual; boost::uint16_t m_tick_residual;
// the number of torrents that have apply_ip_filter
// set to false. This is typically 0
int m_non_filtered_torrents;
#if defined TORRENT_VERBOSE_LOGGING || defined TORRENT_LOGGING || defined TORRENT_ERROR_LOGGING #if defined TORRENT_VERBOSE_LOGGING || defined TORRENT_LOGGING || defined TORRENT_ERROR_LOGGING
boost::shared_ptr<logger> create_log(std::string const& name boost::shared_ptr<logger> create_log(std::string const& name
, int instance, bool append = true); , int instance, bool append = true);
@ -980,10 +984,6 @@ namespace libtorrent
std::vector<boost::shared_ptr<feed> > m_feeds; std::vector<boost::shared_ptr<feed> > m_feeds;
// the number of torrents that have apply_ip_filter
// set to false. This is typically 0
int m_non_filtered_torrents;
// the main working thread // the main working thread
boost::scoped_ptr<thread> m_thread; boost::scoped_ptr<thread> m_thread;

View File

@ -527,6 +527,7 @@ namespace aux {
, m_lsd_announce_timer(m_io_service) , m_lsd_announce_timer(m_io_service)
, m_host_resolver(m_io_service) , m_host_resolver(m_io_service)
, m_tick_residual(0) , m_tick_residual(0)
, m_non_filtered_torrents(0)
#if defined TORRENT_VERBOSE_LOGGING || defined TORRENT_LOGGING || defined TORRENT_ERROR_LOGGING #if defined TORRENT_VERBOSE_LOGGING || defined TORRENT_LOGGING || defined TORRENT_ERROR_LOGGING
, m_logpath(logpath) , m_logpath(logpath)
#endif #endif
@ -536,7 +537,6 @@ namespace aux {
#endif #endif
, m_total_failed_bytes(0) , m_total_failed_bytes(0)
, m_total_redundant_bytes(0) , m_total_redundant_bytes(0)
, m_non_filtered_torrents(0)
#if defined TORRENT_DEBUG && defined BOOST_HAS_PTHREADS #if defined TORRENT_DEBUG && defined BOOST_HAS_PTHREADS
, m_network_thread(0) , m_network_thread(0)
#endif #endif