fixed uninitialized counter for stats logging

This commit is contained in:
Arvid Norberg 2011-11-28 01:27:55 +00:00
parent 8e1ec673af
commit 47e81ff90b
1 changed files with 1 additions and 0 deletions

View File

@ -951,6 +951,7 @@ namespace aux {
m_last_redundant = 0;
m_last_uploaded = 0;
m_last_downloaded = 0;
get_thread_cpu_usage(&m_network_thread_cpu_usage);
reset_stat_counters();
rotate_stats_log();