fixed uninitialized stats logger

This commit is contained in:
Arvid Norberg 2011-04-26 07:05:26 +00:00
parent e389f5963d
commit 83fe560aa2
1 changed files with 1 additions and 0 deletions

View File

@ -803,6 +803,7 @@ namespace aux {
#ifdef TORRENT_STATS
m_stats_logger = 0;
m_stats_logging_enabled = true;
reset_stat_counters();
rotate_stats_log();