From 47e81ff90b67a5e3dd3b9b91bf83070a018f31ca Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Mon, 28 Nov 2011 01:27:55 +0000 Subject: [PATCH] fixed uninitialized counter for stats logging --- src/session_impl.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/session_impl.cpp b/src/session_impl.cpp index 1ba91987b..536c2047d 100644 --- a/src/session_impl.cpp +++ b/src/session_impl.cpp @@ -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();