fix uninitialized sequence number for session stats logs

This commit is contained in:
Arvid Norberg 2011-06-01 07:06:20 +00:00
parent 0c35fde81c
commit 05e91f1a6d
1 changed files with 1 additions and 0 deletions

View File

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