*** empty log message ***

This commit is contained in:
Arvid Norberg
2004-03-29 06:10:23 +00:00
parent 19abdfb14a
commit 40bb52e464

View File

@@ -274,6 +274,9 @@ namespace libtorrent { namespace detail
, m_download_rate(-1) , m_download_rate(-1)
, m_incoming_connection(false) , m_incoming_connection(false)
{ {
#ifndef NDEBUG
m_logger = create_log("main session");
#endif
// ---- generate a peer id ---- // ---- generate a peer id ----
std::srand((unsigned int)std::time(0)); std::srand((unsigned int)std::time(0));
@@ -376,8 +379,6 @@ namespace libtorrent { namespace detail
{ {
eh_initializer(); eh_initializer();
#ifndef NDEBUG #ifndef NDEBUG
m_logger = create_log("main session");
try try
{ {
#endif #endif