fix windows build with verbose logging

This commit is contained in:
Arvid Norberg 2008-11-01 05:35:41 +00:00
parent d359e84b34
commit d721e99026
1 changed files with 2 additions and 2 deletions

View File

@ -501,7 +501,7 @@ namespace aux {
m_half_open.close();
#if defined(TORRENT_VERBOSE_LOGGING) || defined(TORRENT_LOGGING)
(*m_logger) << time_now_string() << " connection queue: " << m_half_open.size() << std::endl;
(*m_logger) << time_now_string() << " connection queue: " << m_half_open.size() << "\n";
#endif
// abort all connections
@ -515,7 +515,7 @@ namespace aux {
}
#if defined(TORRENT_VERBOSE_LOGGING) || defined(TORRENT_LOGGING)
(*m_logger) << time_now_string() << " connection queue: " << m_half_open.size() << std::endl;
(*m_logger) << time_now_string() << " connection queue: " << m_half_open.size() << "\n";
#endif
TORRENT_ASSERT(m_half_open.size() == 0);